diff --git a/web/.eslintrc.js b/web/.eslintrc.js index 26b880463..c0d63503e 100644 --- a/web/.eslintrc.js +++ b/web/.eslintrc.js @@ -3,7 +3,10 @@ module.exports = { "parserOptions": { "project": "tsconfig.json" }, - "ignorePatterns": "build/*", + "ignorePatterns": [ + "build/*", + "coverage/*" + ], "settings": { "import/resolver": { "typescript": {} @@ -13,8 +16,8 @@ module.exports = { "react-app", "plugin:import/errors", "plugin:import/warnings", - "prettier/@typescript-eslint", - "plugin:prettier/recommended" + "plugin:prettier/recommended", + "prettier" ], "rules": { "import/order": [ diff --git a/web/package.json b/web/package.json index dde582cde..c27de5043 100644 --- a/web/package.json +++ b/web/package.json @@ -27,7 +27,7 @@ "classnames": "2.2.6", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.6", - "eslint-config-prettier": "7.2.0", + "eslint-config-prettier": "8.0.0", "eslint-import-resolver-typescript": "2.4.0", "eslint-plugin-prettier": "3.3.1", "prettier": "2.2.1", diff --git a/web/yarn.lock b/web/yarn.lock index 990c92d20..f8512aade 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -5584,10 +5584,10 @@ escodegen@^1.14.1: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9" - integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg== +eslint-config-prettier@8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.0.0.tgz#024d661444319686c588c8849c8da33815dbdb1c" + integrity sha512-5EaAVPsIHu+grmm5WKjxUia4yHgRrbkd8I0ffqUSwixCPMVBrbS97UnzlEY/Q7OWo584vgixefM0kJnUfo/VjA== eslint-config-react-app@^6.0.0: version "6.0.0"