-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
55 lines (55 loc) · 1.27 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": ["lob/browser", "plugin:vue/vue3-recommended", "prettier"],
"plugins": ["prettier"],
"globals": {
"URLSearchParams": false,
"vi": false
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser", // This is the TypeScript parser
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"extraFileExtensions": [".vue"]
},
"ignorePatterns": ["!/.storybook"],
"rules": {
"lob/align-equals": 0,
"no-extra-parens": 0,
"no-lonely-if": 0,
"no-redeclare": 0,
"no-shadow": 0,
"no-var": 0,
"prefer-arrow-callback": 0,
"prefer-reflect": 0,
"prefer-template": 0,
"vue/comma-dangle": 2,
"vue/multi-word-component-names": 0,
"vue/v-on-event-hyphenation": 0,
"comma-dangle": 0,
"lob/padded-describes": 0,
"prettier/prettier": "error",
"vue/component-name-in-template-casing": ["error", "PascalCase", {
"registeredComponentsOnly": false,
"ignores": []
}]
},
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)"
],
"env": {
"jest": true
},
"plugins": ["prettier", "lob"]
}
],
"root": true,
"env": {
"es2021": true
}
}