Use the strict variant of recommended configs
Ref: https://typescript-eslint.io/users/configs/
This commit is contained in:
parent
a00f64eaa9
commit
44703ff3df
2 changed files with 9 additions and 5 deletions
3
packages/build-config/.prettierrc.json
Normal file
3
packages/build-config/.prettierrc.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"tabWidth": 4
|
||||
}
|
|
@ -1,13 +1,14 @@
|
|||
module.exports = {
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended-type-checked',
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/strict-type-checked",
|
||||
"plugin:@typescript-eslint/stylistic-type-checked",
|
||||
],
|
||||
plugins: ['@typescript-eslint'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ["@typescript-eslint"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: true,
|
||||
},
|
||||
ignorePatterns: ['.eslintrc.js'],
|
||||
ignorePatterns: [".eslintrc.js"],
|
||||
root: true,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue