diff --git a/.eslintrc b/.eslintrc index 0db89b0ba24..c2fb27dca42 100755 --- a/.eslintrc +++ b/.eslintrc @@ -38,8 +38,7 @@ "sourceType": "module", "ecmaFeatures": { "jsx": true - }, - "project": "./tsconfig.json" + } }, "rules": { "@typescript-eslint/no-this-alias": "off", @@ -63,6 +62,9 @@ "**/e2e/**/*.{ts,js,tsx,jsx}", "**/__e2e__/**/*.{ts,js,tsx,jsx}" ], + "parserOptions": { + "project": "./tsconfig.json" + }, "rules": { "@typescript-eslint/no-floating-promises": "error" } diff --git a/package.json b/package.json index af40483affd..b8112bd4244 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "prettier --write" ], "*.ts?(x)": [ - "eslint --fix" + "eslint --fix --cache --cache-location node_modules/.cache/eslint/" ] }, "devDependencies": {