-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
enableJavaScriptSpecificRulesInTypeScriptProject
createCo…
…nfig argument - `enableJavaScriptSpecificRulesInTypeScriptProject` skips disabling JS specific rules that are shadowed by typescript in situations where you still want to fully lint JS files but cannot use checkJs in tsconfig
- Loading branch information
1 parent
43e5dae
commit 309c7a4
Showing
14 changed files
with
1,859 additions
and
25 deletions.
There are no files selected for viewing
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
4 changes: 4 additions & 0 deletions
4
integration/js-ts-migration-mix-force-js-linting/.eslintrc.js
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,4 @@ | ||
process.env.createConfigArgs = JSON.stringify({ | ||
enableJavaScriptSpecificRulesInTypeScriptProject: true, | ||
}); | ||
module.exports = require('../abstractConfig'); |
49 changes: 49 additions & 0 deletions
49
integration/js-ts-migration-mix-force-js-linting/deps.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,49 @@ | ||
{ | ||
"hasJest": false, | ||
"hasJestDom": false, | ||
"hasNodeTypes": false, | ||
"hasTestingLibrary": false, | ||
"hasNest": false, | ||
"storybook": { | ||
"hasStorybook": false, | ||
"hasStorybookTestingLibrary": false | ||
}, | ||
"react": { | ||
"hasReact": false, | ||
"isCreateReactApp": false, | ||
"isNext": false, | ||
"isRemix": false, | ||
"isPreact": false, | ||
"version": null | ||
}, | ||
"typescript": { | ||
"config": { | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"esnext" | ||
], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noEmit": true, | ||
"esModuleInterop": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true | ||
}, | ||
"include": [ | ||
"src" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
}, | ||
"hasTypeScript": true, | ||
"version": "4.6.4" | ||
} | ||
} |
Oops, something went wrong.