mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
fixing lint
This commit is contained in:
parent
476b57a800
commit
76a051e007
4 changed files with 44 additions and 60 deletions
|
|
@ -11,6 +11,7 @@
|
|||
"i18n-text/no-en": "off",
|
||||
"eslint-comments/no-use": "off",
|
||||
"import/no-namespace": "off",
|
||||
"import/no-named-as-default": "off",
|
||||
"no-shadow": "off",
|
||||
"no-unused-vars": "off",
|
||||
"prefer-template": "off",
|
||||
|
|
@ -60,29 +61,7 @@
|
|||
},
|
||||
"import/resolver": {
|
||||
"typescript": {
|
||||
"alwaysTryTypes": true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
|
||||
|
||||
// Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
|
||||
|
||||
// use <root>/path/to/folder/tsconfig.json
|
||||
"project": "path/to/folder",
|
||||
|
||||
// Multiple tsconfigs (Useful for monorepos)
|
||||
|
||||
// use a glob pattern
|
||||
"project": "packages/*/tsconfig.json",
|
||||
|
||||
// use an array
|
||||
"project": [
|
||||
"packages/module-a/tsconfig.json",
|
||||
"packages/module-b/tsconfig.json"
|
||||
],
|
||||
|
||||
// use an array of glob patterns
|
||||
"project": [
|
||||
"packages/*/tsconfig.json",
|
||||
"other-packages/*/tsconfig.json"
|
||||
]
|
||||
"alwaysTryTypes": true // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue