fix: 加固 monorepo 质量门禁
This commit is contained in:
+8
-1
@@ -2,7 +2,14 @@ module.exports = {
|
||||
root: true,
|
||||
env: { es2022: true, node: true },
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: ["./tsconfig.base.json"],
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
plugins: ["@typescript-eslint"],
|
||||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended-type-checked",
|
||||
],
|
||||
ignorePatterns: ["node_modules/", "dist/", "coverage/"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user