From ad62b49a90c70d9fe1ff0335bfa4f65b5b4e8cf1 Mon Sep 17 00:00:00 2001 From: Mark Tyers Date: Sat, 23 Nov 2019 19:43:35 +0000 Subject: [PATCH] Updated the Linter Config --- .eslintignore | 4 ++++ .eslintrc.json | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .eslintignore 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": {