Loading .eslintignore 0 → 100644 +6 −0 Changes for .eslintignore: 6 added lines, 0 removed lines. Original line number Diff line number Diff line # These files fail eslint standards. In due course they will be fixed and then # removed from this ignore file. # See https://www.drupal.org/project/scheduler/issues/3314451 drupalci.yml js/scheduler_default_time.js js/scheduler_vertical_tabs.js .eslintrc.json 0 → 100644 +7 −0 Changes for .eslintrc.json: 7 added lines, 0 removed lines. Original line number Diff line number Diff line // This file does not strictly need to exist in contrib, because eslint config // files placed futher up in the directory structure will be merged and // inherited. The top-level .eslintrc.json extends ./core/.eslintrc.json. // Drupalci eslint does not have a 'sniff all files' argument, but having this // in a patch or MR will cause all files to be checked. // See https://www.drupal.org/project/scheduler/issues/3314451 {} .prettierignore 0 → 100644 +2 −0 Changes for .prettierignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line # Drupal ./core/.prettierignore has *.yml so contrib can do likewise. *.yml .prettierrc.json 0 → 100644 +7 −0 Changes for .prettierrc.json: 7 added lines, 0 removed lines. Original line number Diff line number Diff line { "_comment": "Duplicate what is in core/.prettierrc.json", "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "all" } drupalci.yml +11 −4 Changes for drupalci.yml: 11 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ build: validate_codebase: phplint: container_composer: container_command: commands: host_command: commands: # Apply patch from https://www.drupal.org/project/drupalci_testbot/issues/3251817 Loading @@ -11,15 +13,20 @@ build: csslint: eslint: phpcs: # Static analysis for uses of @deprecated code. phpstan: halt-on-fail: false testing: container_command: commands: # Rule 3.0-alpha7 is not compatible with PHP8.1 but the dev version has been fixed. - "cd ${SOURCE_DIR} && sudo -u www-data composer require drupal/rules:3.x-dev" - 'drush status | awk "NR==1{print \$2\$3\$4}"' # Show the eslint version - "${SOURCE_DIR}/core/node_modules/.bin/eslint --version" run_tests.functional: types: 'PHPUnit-Functional' testgroups: 'scheduler,scheduler_api' # Change testgroups to '--all' if Typed Data reverts to being supported # at 8.x. See https://www.drupal.org/project/scheduler/issues/3248470 testgroups: '--all' # The groups are 'scheduler,scheduler_api,scheduler_rules_integration' suppress-deprecations: true run_tests.js: types: 'PHPUnit-FunctionalJavascript' Loading Loading
.eslintignore 0 → 100644 +6 −0 Changes for .eslintignore: 6 added lines, 0 removed lines. Original line number Diff line number Diff line # These files fail eslint standards. In due course they will be fixed and then # removed from this ignore file. # See https://www.drupal.org/project/scheduler/issues/3314451 drupalci.yml js/scheduler_default_time.js js/scheduler_vertical_tabs.js
.eslintrc.json 0 → 100644 +7 −0 Changes for .eslintrc.json: 7 added lines, 0 removed lines. Original line number Diff line number Diff line // This file does not strictly need to exist in contrib, because eslint config // files placed futher up in the directory structure will be merged and // inherited. The top-level .eslintrc.json extends ./core/.eslintrc.json. // Drupalci eslint does not have a 'sniff all files' argument, but having this // in a patch or MR will cause all files to be checked. // See https://www.drupal.org/project/scheduler/issues/3314451 {}
.prettierignore 0 → 100644 +2 −0 Changes for .prettierignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line # Drupal ./core/.prettierignore has *.yml so contrib can do likewise. *.yml
.prettierrc.json 0 → 100644 +7 −0 Changes for .prettierrc.json: 7 added lines, 0 removed lines. Original line number Diff line number Diff line { "_comment": "Duplicate what is in core/.prettierrc.json", "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "all" }
drupalci.yml +11 −4 Changes for drupalci.yml: 11 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ build: validate_codebase: phplint: container_composer: container_command: commands: host_command: commands: # Apply patch from https://www.drupal.org/project/drupalci_testbot/issues/3251817 Loading @@ -11,15 +13,20 @@ build: csslint: eslint: phpcs: # Static analysis for uses of @deprecated code. phpstan: halt-on-fail: false testing: container_command: commands: # Rule 3.0-alpha7 is not compatible with PHP8.1 but the dev version has been fixed. - "cd ${SOURCE_DIR} && sudo -u www-data composer require drupal/rules:3.x-dev" - 'drush status | awk "NR==1{print \$2\$3\$4}"' # Show the eslint version - "${SOURCE_DIR}/core/node_modules/.bin/eslint --version" run_tests.functional: types: 'PHPUnit-Functional' testgroups: 'scheduler,scheduler_api' # Change testgroups to '--all' if Typed Data reverts to being supported # at 8.x. See https://www.drupal.org/project/scheduler/issues/3248470 testgroups: '--all' # The groups are 'scheduler,scheduler_api,scheduler_rules_integration' suppress-deprecations: true run_tests.js: types: 'PHPUnit-FunctionalJavascript' Loading