mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-25 20:27:44 +02:00
More fixes
This commit is contained in:
parent
77c6c36e3d
commit
ce800df07d
3 changed files with 19 additions and 3 deletions
|
@ -18,7 +18,7 @@ module.exports = function (workspaceDirPath) {
|
|||
},
|
||||
parserOptions: {
|
||||
tsconfigRootDir: workspaceDirPath,
|
||||
project: `${workspaceDirPath}/tsconfig.json`,
|
||||
project: workspaceDirPath + "/tsconfig.json",
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
@ -28,6 +28,14 @@ module.exports = function (workspaceDirPath) {
|
|||
extends: ["plugin:@typescript-eslint/recommended"],
|
||||
rules: {
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"@typescript-eslint/consistent-type-imports": [
|
||||
"error",
|
||||
{
|
||||
prefer: "type-imports",
|
||||
fixStyle: "separate-type-imports",
|
||||
disallowTypeAnnotations: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -39,7 +47,6 @@ module.exports = function (workspaceDirPath) {
|
|||
"import/no-duplicates": "error",
|
||||
"no-console": ["error", { allow: ["warn", "error", "info"] }],
|
||||
"no-unused-vars": "error",
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue