File tree 9 files changed +29
-12
lines changed
9 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 2
2
"extends" : " ./node_modules/@microsoft/rush-stack-compiler-3.5/includes/tsconfig-node.json" ,
3
3
4
4
"compilerOptions" : {
5
- "rootDir" : " src" ,
6
- "types" : [
7
- " node"
8
- ]
5
+ "rootDir" : " src"
9
6
}
10
7
}
Original file line number Diff line number Diff line change
1
+ // This is a workaround for https://github.com/eslint/eslint/issues/3458
2
+ require ( "@rushstack/eslint-config/patch-eslint6" ) ;
3
+
4
+ module . exports = {
5
+ extends : [ "@rushstack/eslint-config" ] ,
6
+ parserOptions : { tsconfigRootDir : __dirname } ,
7
+ } ;
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+ require ( "eslint/bin/eslint" ) ;
Original file line number Diff line number Diff line change 9
9
},
10
10
"bin" : {
11
11
"rush-api-extractor" : " ./bin/rush-api-extractor" ,
12
+ "rush-eslint" : " ./bin/rush-eslint" ,
12
13
"rush-tsc" : " ./bin/rush-tsc" ,
13
14
"rush-tslint" : " ./bin/rush-tslint"
14
15
},
20
21
"dependencies" : {
21
22
"@microsoft/api-extractor" : " 7.7.0" ,
22
23
"@microsoft/node-core-library" : " 3.18.0" ,
24
+ "@rushstack/eslint-config" : " 0.4.2" ,
23
25
"@types/node" : " 8.10.54" ,
24
- "tslint-microsoft-contrib " : " ~5.2 .1" ,
26
+ "eslint " : " ~6.5 .1" ,
25
27
"tslint" : " ~5.12.1" ,
28
+ "tslint-microsoft-contrib" : " ~5.2.1" ,
26
29
"typescript" : " ~3.6.4"
27
30
},
28
31
"devDependencies" : {
29
32
"@microsoft/node-library-build" : " 6.3.11" ,
30
33
"@microsoft/rush-stack-compiler-3.5" : " 0.3.11" ,
31
34
"@microsoft/rush-stack-compiler-shared" : " 0.0.0" ,
35
+ "@rushstack/eslint-config" : " 0.4.2" ,
32
36
"gulp" : " ~4.0.2"
33
37
}
34
38
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // This is a workaround for https://github.com/eslint/eslint/issues/3458
2
+ require ( "@rushstack/eslint-config/patch-eslint6" ) ;
3
+
4
+ module . exports = {
5
+ extends : [ "@rushstack/eslint-config" ] ,
6
+ parserOptions : { tsconfigRootDir : __dirname } ,
7
+ } ;
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+ require ( "eslint/bin/eslint" ) ;
Original file line number Diff line number Diff line change 9
9
},
10
10
"bin" : {
11
11
"rush-api-extractor" : " ./bin/rush-api-extractor" ,
12
+ "rush-eslint" : " ./bin/rush-eslint" ,
12
13
"rush-tsc" : " ./bin/rush-tsc" ,
13
14
"rush-tslint" : " ./bin/rush-tslint"
14
15
},
20
21
"dependencies" : {
21
22
"@microsoft/api-extractor" : " 7.7.0" ,
22
23
"@microsoft/node-core-library" : " 3.18.0" ,
24
+ "@rushstack/eslint-config" : " 0.4.2" ,
23
25
"@types/node" : " 8.10.54" ,
24
- "tslint-microsoft-contrib " : " ~5.2 .1" ,
26
+ "eslint " : " ~6.5 .1" ,
25
27
"tslint" : " ~5.12.1" ,
28
+ "tslint-microsoft-contrib" : " ~5.2.1" ,
26
29
"typescript" : " ~3.7.2"
27
30
},
28
31
"devDependencies" : {
29
32
"@microsoft/node-library-build" : " 6.3.11" ,
30
33
"@microsoft/rush-stack-compiler-3.5" : " 0.3.11" ,
31
34
"@microsoft/rush-stack-compiler-shared" : " 0.0.0" ,
35
+ "@rushstack/eslint-config" : " 0.4.2" ,
32
36
"gulp" : " ~4.0.2"
33
37
}
34
38
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments