Commit 1d0ccddc authored by Jonathan Smith's avatar Jonathan Smith
Browse files

Issue #3314451 by jonathan1055: Eslint coding standards faults - add .prettier config files

parent c84e8551
Loading
Loading
Loading
Loading

.eslintignore

0 → 100644
+7 −0
Changes for .eslintignore: 7 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_default_time_8x.js
js/scheduler_vertical_tabs.js
 No newline at end of file

.eslintrc.json

0 → 100644
+8 −0
Changes for .eslintrc.json: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
// This file does not strictly need to exist in contrib, because core's eslint
// config will be inherited from further up in the directory hierarchy. However,
// eslint does not have a 'sniff all files' parameter, but having this file (and
// making a temporary change to it) will cause all files to be checked.
// See https://www.drupal.org/project/scheduler/issues/3314451
{
  "extends": "../../../core/.eslintrc.json"
}

.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"
}