forked from Daniel-Knights/vscode-mjml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (29 loc) · 844 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
30
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"env": { "node": true },
"rules": {
"@typescript-eslint/semi": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/explicit-module-boundary-types": "warn",
"@typescript-eslint/ban-ts-comment": "off",
"no-debugger": "error",
"arrow-parens": "warn",
"require-await": "warn",
"eqeqeq": "warn",
"no-await-in-loop": "warn",
"no-const-assign": "error",
"no-return-await": "warn",
"prefer-const": "warn",
"no-unneeded-ternary": "warn",
"no-throw-literal": "warn",
"semi": "off",
"no-useless-escape": "off"
}
}