summaryrefslogtreecommitdiffstatshomepage
path: root/core/.eslintrc.json
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2018-06-07 22:57:45 +0100
committerAlex Pott <alex.a.pott@googlemail.com>2018-06-07 22:57:45 +0100
commit99f215b1b25a4014068e552d30a6b54b5e917609 (patch)
treeca60ffe97b0a72bd2fa177ae7b398fcea6a9ec4c /core/.eslintrc.json
parent11f7f2a8179a71fef6b524b0168aeabac7c7979b (diff)
downloaddrupal-99f215b1b25a4014068e552d30a6b54b5e917609.tar.gz
drupal-99f215b1b25a4014068e552d30a6b54b5e917609.zip
Issue #2877441 by fafnirical, Jo Fitzgerald, marxjohnson: Improve readability of ESLint config
Diffstat (limited to 'core/.eslintrc.json')
-rw-r--r--core/.eslintrc.json18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/.eslintrc.json b/core/.eslintrc.json
index 659807751be..9883d328e66 100644
--- a/core/.eslintrc.json
+++ b/core/.eslintrc.json
@@ -19,16 +19,16 @@
"CKEDITOR": true
},
"rules": {
- "consistent-return": [0],
- "no-underscore-dangle": [0],
- "max-nested-callbacks": [1, 3],
- "import/no-mutable-exports": [1],
- "no-plusplus": [1, {
+ "consistent-return": ["off"],
+ "no-underscore-dangle": ["off"],
+ "max-nested-callbacks": ["warn", 3],
+ "import/no-mutable-exports": ["warn"],
+ "no-plusplus": ["warn", {
"allowForLoopAfterthoughts": true
}],
- "no-param-reassign": [0],
- "no-prototype-builtins": [0],
- "valid-jsdoc": [1, {
+ "no-param-reassign": ["off"],
+ "no-prototype-builtins": ["off"],
+ "valid-jsdoc": ["warn", {
"prefer": {
"returns": "return",
"property": "prop"
@@ -36,6 +36,6 @@
"requireReturn": false
}],
"brace-style": ["error", "stroustrup"],
- "no-unused-vars": [1]
+ "no-unused-vars": ["warn"]
}
}