File tree Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -346,8 +346,6 @@ const lintFoldEnd = async () => { if (fold.isTravis()) console.log(fold.end("lin
346
346
347
347
/** @type { (folder: string) => { (): Promise<any>; displayName?: string } } */
348
348
const eslint = ( folder ) => async ( ) => {
349
- const ESLINTRC_CI = ".eslintrc.ci.json" ;
350
- const isCIEnv = cmdLineOptions . ci || process . env . CI === "true" ;
351
349
352
350
const args = [
353
351
"node_modules/eslint/bin/eslint" ,
@@ -358,13 +356,6 @@ const eslint = (folder) => async () => {
358
356
"--ext" , ".ts" ,
359
357
] ;
360
358
361
- if (
362
- isCIEnv &&
363
- fs . existsSync ( path . resolve ( folder , ESLINTRC_CI ) )
364
- ) {
365
- args . push ( "--config" , path . resolve ( folder , ESLINTRC_CI ) ) ;
366
- }
367
-
368
359
if ( cmdLineOptions . fix ) {
369
360
args . push ( "--fix" ) ;
370
361
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ../.eslintrc.json" ,
3
+ "parserOptions" : {
4
+ "tsconfigRootDir" : " src" ,
5
+ "project" : " ./tsconfig-base.json"
6
+ },
7
+ "rules" : {
8
+ "@typescript-eslint/no-unnecessary-qualifier" : " error" ,
9
+ "@typescript-eslint/no-unnecessary-type-assertion" : " error"
10
+ },
3
11
"overrides" : [
4
12
{
5
13
"files" : [" lib/*.d.ts" ],
You can’t perform that action at this time.
0 commit comments