We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1dee488 + 76ecf9a commit ba33054Copy full SHA for ba33054
editors/code/.eslintrc.js
@@ -5,7 +5,8 @@ module.exports = {
5
},
6
"parser": "@typescript-eslint/parser",
7
"parserOptions": {
8
- "project": "tsconfig.json",
+ "project": "tsconfig.eslint.json",
9
+ "tsconfigRootDir": __dirname,
10
"sourceType": "module"
11
12
"plugins": [
editors/code/tsconfig.eslint.json
@@ -0,0 +1,11 @@
1
+// Special typescript project file, used by eslint only.
2
+{
3
+ "extends": "./tsconfig.json",
4
+ "include": [
+ // repeated from base config's "include" setting
+ "src",
+ "tests",
+ // these are the eslint-only inclusions
+ ".eslintrc.js",
+ ]
+}
0 commit comments