generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc
29 lines (29 loc) · 846 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
"node": true
},
"plugins": ["@typescript-eslint", "import", "unused-imports"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"unused-imports/no-unused-imports": "error",
"no-prototype-builtins": "off",
"no-useless-escape": "off",
"no-duplicate-imports": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-misused-new": "error"
}
}