-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor tsconfigs to use project references
- Loading branch information
1 parent
7984ef7
commit 81d9f4f
Showing
108 changed files
with
859 additions
and
463 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
{ | ||
"extends": "./tsconfig.build.json", | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"composite": false, | ||
"rootDir": "." | ||
"outDir": "../../dist/out-tsc/ast-spec" | ||
}, | ||
"include": ["src", "typings", "tests", "tools", "**/fixtures/**/config.ts"], | ||
"exclude": ["**/fixtures/**/fixture.ts", "**/fixtures/**/fixture.tsx"], | ||
"references": [{ "path": "../typescript-estree/tsconfig.build.json" }] | ||
"files": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.spec.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "../../dist/out-tsc/ast-spec", | ||
"types": ["jest", "node"], | ||
"noImplicitAny": false | ||
}, | ||
"exclude": ["tests/fixtures"], | ||
"include": [ | ||
"tests", | ||
"tools", | ||
"**/*.test.ts", | ||
"**/*.spec.ts", | ||
"**/*.test.tsx", | ||
"**/*.spec.tsx", | ||
"**/*.test.js", | ||
"**/*.spec.js", | ||
"**/*.test.jsx", | ||
"**/*.spec.jsx", | ||
"**/*.d.ts" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../typescript-estree/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.build.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
// specifically disable declarations for the plugin | ||
// specifically disable declarations for the plugin (which requires disabling composite) | ||
"composite": false, | ||
"declaration": false, | ||
"declarationMap": false, | ||
"outDir": "./dist", | ||
"rootDir": "./src", | ||
"emitDeclarationOnly": false, | ||
"rootDir": "src", | ||
"outDir": "dist", | ||
"resolveJsonModule": true | ||
}, | ||
"include": ["src", "typings"], | ||
"references": [{ "path": "../utils/tsconfig.build.json" }] | ||
"references": [ | ||
{ | ||
"path": "../rule-tester/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../utils/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../type-utils/tsconfig.build.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
{ | ||
"extends": "./tsconfig.build.json", | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
// specifically disable declarations for the plugin (which requires disabling composite) | ||
"composite": false, | ||
"target": "ES2022", | ||
"emitDeclarationOnly": false, | ||
"noEmit": true, | ||
"declaration": false, | ||
"declarationMap": false, | ||
"rootDir": "." | ||
}, | ||
"include": ["src", "typings", "tests", "index.d.ts"], | ||
"references": [{ "path": "../utils/tsconfig.build.json" }] | ||
"references": [ | ||
{ | ||
"path": "../rule-tester/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../utils/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../type-utils/tsconfig.build.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,32 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
// specifically disable declarations for the plugin | ||
// specifically disable declarations for the plugin (which requires disabling composite) | ||
// see reasoning in packages/eslint-plugin/rules.d.ts | ||
"composite": false, | ||
"declaration": false, | ||
"declarationMap": false, | ||
"outDir": "./dist", | ||
"rootDir": "./src", | ||
"emitDeclarationOnly": false, | ||
"rootDir": "src", | ||
"outDir": "dist", | ||
"resolveJsonModule": true | ||
}, | ||
"include": ["src", "typings"], | ||
"references": [ | ||
{ "path": "../utils/tsconfig.build.json" }, | ||
{ "path": "../parser/tsconfig.build.json" }, | ||
{ "path": "../scope-manager/tsconfig.build.json" }, | ||
{ "path": "../type-utils/tsconfig.build.json" } | ||
{ | ||
"path": "../utils/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../parser/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../rule-tester/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../scope-manager/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "../type-utils/tsconfig.build.json" | ||
} | ||
] | ||
} |
Oops, something went wrong.