-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 928 Bytes
/
.eslintrc.json
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
32
33
34
35
36
37
38
39
{
"env": {
"node": true,
"browser": true,
"es2021": true,
"jest": true,
"worker": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-essential",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:storybook/recommended"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint"],
"rules": {
"eqeqeq": "error",
"default-param-last": "error",
"capitalized-comments": "error",
"curly": "error",
"arrow-parens": "error",
"arrow-body-style": ["error", "always"],
"no-use-before-define": "error",
"max-depth": ["error", 2],
"max-lines": ["warn", 60],
"max-params": "error",
"no-console": "error",
"no-implicit-coercion": "error",
"yoda": ["error", "always"],
"semi": "error"
}
}