-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
31 lines (31 loc) · 1.02 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./packages/*/tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint/eslint-plugin"],
"extends": ["eslint:recommended", "prettier", "plugin:@typescript-eslint/recommended"],
"ignorePatterns": ["dist", "node_modules", "examples", "scripts"],
"root": true,
"env": {
"node": true,
"jest": true
},
"rules": {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }]
// "no-var": "error",
// "semi": "error",
// "indent": "error",
// "no-multi-spaces": "error",
// "space-in-parens": "error",
// "no-multiple-empty-lines": "error",
// "prefer-const": "error",
// "no-use-before-define": "error"
}
}