Fix eslint not validating eslint rules correctly (#3423)
This commit is contained in:
Родитель
0a70aa7f61
Коммит
0056b40751
|
@ -65,6 +65,7 @@ const allFilesConfig = tsEslint.config({
|
||||||
export function getTypeScriptProjectRules(root) {
|
export function getTypeScriptProjectRules(root) {
|
||||||
return tsEslint.config({
|
return tsEslint.config({
|
||||||
files: ["**/*.ts", "**/*.tsx"],
|
files: ["**/*.ts", "**/*.tsx"],
|
||||||
|
ignores: ["packages/http-client-csharp/**/*"], // Ignore isolated modules
|
||||||
plugins: {
|
plugins: {
|
||||||
deprecation,
|
deprecation,
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "./tsconfig.base.json"
|
"extends": "./tsconfig.base.json",
|
||||||
|
"include": ["**/*.ts", "**/*.tsx"],
|
||||||
|
"exclude": ["**/node_modules/", "**/dist/", "**/build/", "**/coverage/"]
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче