diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..3854769 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ + +docs/** +node_modules/** +coverage/** diff --git a/.eslintrc.json b/.eslintrc.json index 6c375b1..aff04a8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,9 @@ "jest": true }, "parserOptions": { - "ecmaVersion": 8 + "ecmaVersion": 2018, + "noInlineConfig": true, + "reportUnusedDisableDirectives": true }, "rules": { "arrow-body-style": "error", @@ -60,7 +62,7 @@ "space-before-function-paren": ["error", "never"], "strict": ["error", "global"], "yoda": "error" - }, + }, "overrides": [{ "files": [ "*.test.js", "*.spec.js", "*.steps.js" ], "rules": {