Commit b85fb24c authored by catch's avatar catch
Browse files

Issue #2591827 by longwave, neclimdul, elachlan, daffie: Add YAML linting to...

Issue #2591827 by longwave, neclimdul, elachlan, daffie: Add YAML linting to core coding standards checks
parent 30fc03b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8,3 +8,9 @@ modules/locale/tests/locale_test.es6.js
misc/polyfills/array.find.es6.js
misc/polyfills/element.closest.es6.js
misc/polyfills/object.assign.es6.js

# Ignore deliberately malformed YAML files.
modules/system/tests/fixtures/HtaccessTest/access_test.yml
modules/system/tests/themes/test_theme_libraries_empty/test_theme_libraries_empty.info.yml
tests/Drupal/Tests/Core/Asset/library_test_files/empty.libraries.yml
tests/Drupal/Tests/Core/Asset/library_test_files/invalid_file.libraries.yml
+2 −1
Original line number Diff line number Diff line
{
  "extends": [
    "airbnb",
    "plugin:prettier/recommended"
    "plugin:prettier/recommended",
    "plugin:yml/recommended"
  ],
  "root": true,
  "env": {
+1 −0
Original line number Diff line number Diff line
modules/locale/tests/locale_test.es6.js
*.yml
+0 −2
Original line number Diff line number Diff line
@@ -1245,11 +1245,9 @@ services:
    arguments: ['@current_user']
  ajax_response.attachments_processor:
    class: Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor
    tags:
    arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler']
  html_response.attachments_processor:
    class: Drupal\Core\Render\HtmlResponseAttachmentsProcessor
    tags:
    arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler']
  html_response.subscriber:
    class: Drupal\Core\EventSubscriber\HtmlResponseSubscriber
+1 −3
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@
# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing
build:
  assessment:
    validate_codebase:
      # Core's code quality is checked by container_command.commit_checks.
    testing:
      # Run code quality checks.
      container_command.commit-checks:
@@ -45,4 +43,4 @@ build:
        halt-on-fail: false
      # Run nightwatch testing.
      # @see https://www.drupal.org/project/drupal/issues/2869825
      nightwatchjs:
      nightwatchjs: {}
Loading