File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ module.exports = {
23
23
"plugin:@typescript-eslint/strict" ,
24
24
] ,
25
25
files : [ "**/*.{ts,tsx}" ] ,
26
+ parserOptions : {
27
+ project : "./tsconfig.eslint.json" ,
28
+ } ,
29
+ rules : {
30
+ // These off-by-default rules work well for this repo and we like them on.
31
+ "deprecation/deprecation" : "error" ,
32
+ } ,
26
33
} ,
27
34
{
28
35
files : "*.json" ,
@@ -41,10 +48,6 @@ module.exports = {
41
48
} ,
42
49
] ,
43
50
parser : "@typescript-eslint/parser" ,
44
- parserOptions : {
45
- tsconfigRootDir : __dirname ,
46
- project : [ "./tsconfig.json" ] ,
47
- } ,
48
51
plugins : [
49
52
"@typescript-eslint" ,
50
53
"deprecation" ,
@@ -57,7 +60,6 @@ module.exports = {
57
60
root : true ,
58
61
rules : {
59
62
// These off-by-default rules work well for this repo and we like them on.
60
- "deprecation/deprecation" : "error" ,
61
63
"no-only-tests/no-only-tests" : "error" ,
62
64
"simple-import-sort/exports" : "error" ,
63
65
"simple-import-sort/imports" : "error" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "include" : [" ." ]
4
+ }
You can’t perform that action at this time.
0 commit comments