aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 3c3c4d7c..6afa5f4c 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,9 +1,11 @@
{
- "extends": ["eslint:recommended", "prettier"],
+ "parser": "babel-eslint",
+ "extends": ["airbnb", "prettier"],
"env": {
- "browser": true
+ "browser": true,
+ "es6": true
},
- "globals": {},
+ "globals": { "Plyr": true },
"rules": {
"no-const-assign": 1,
"no-this-before-super": 1,
@@ -18,5 +20,8 @@
"eqeqeq": [2, "always"],
"one-var": [2, "never"],
"comma-dangle": [2, "always-multiline"]
+ },
+ "parserOptions": {
+ "sourceType": "module"
}
}