aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json18
1 files changed, 6 insertions, 12 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 1fc24ce3..c53bf908 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -5,7 +5,10 @@
"browser": true,
"es6": true
},
- "globals": { "Plyr": false, "jQuery": false },
+ "globals": {
+ "Plyr": false,
+ "jQuery": false
+ },
"rules": {
"no-const-assign": 1,
"no-shadow": 0,
@@ -21,17 +24,8 @@
"eqeqeq": [2, "always"],
"one-var": [2, "never"],
"comma-dangle": [2, "always-multiline"],
- "no-restricted-globals": [
- "error",
- {
- "name": "event",
- "message": "Use local parameter instead."
- },
- {
- "name": "error",
- "message": "Use local parameter instead."
- }
- ],
+ "spaced-comment": [2, "always"],
+ "no-restricted-globals": 2,
"no-param-reassign": [2, { "props": false }]
},
"parserOptions": {