-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.yaml
104 lines (98 loc) · 1.82 KB
/
.eslintrc.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
extends:
- airbnb-base
- plugin:import/warnings
- plugin:vue/vue3-recommended
- plugin:jest-formatting/strict
env:
browser: true
jest: true
plugins:
- vue
- import
- jest-formatting
settings:
import/resolver:
webpack:
node: { }
rules:
sort-imports:
- error
- ignoreDeclarationSort: true
no-multiple-empty-lines: 0
arrow-parens: 0
max-classes-per-file: 0
import/extensions: 0
import/no-cycle:
- error
- maxDepth: 2
import/order: off
import/newline-after-import:
- error
- count: 2
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next: return
- blankLine: always
prev: "*"
next: export
no-param-reassign:
- 2
- props: false
no-console:
- error
- allow:
- warn
- error
object-curly-newline:
- error
- ImportDeclaration:
minProperties: 1
multiline: true
consistent: true
ObjectExpression:
consistent: true
minProperties: 3
require-await:
- error
vue/multi-word-component-names: 0
vue/padding-line-between-blocks: 2
vue/no-potential-component-option-typo: 2
vue/new-line-between-multi-line-property:
- error
- minLineOfMultilineProperty: 2
vue/prop-name-casing:
- error
- camelCase
vue/order-in-components:
- error
- order:
- el
- name
- delimiters
- extends
- mixins
- directives
- components
- inheritAttrs
- props
- emits
- setup
- data
- computed
- methods
- filters
- watch
- LIFECYCLE_HOOKS
- ROUTER_GUARDS
- template
- render
parser: "vue-eslint-parser"
parserOptions:
requireConfigFile: false
parser:
js: "@babel/eslint-parser"
globals:
inject: false