forked from monicahq/monica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
56 lines (56 loc) · 1.1 KB
/
.eslintrc.yml
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
env:
browser: true
es2021: true
extends:
- eslint:recommended
- plugin:vue/vue3-essential
- plugin:vue/vue3-strongly-recommended
- plugin:vue/vue3-recommended
- prettier
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- vue
rules:
array-bracket-spacing:
- error
- never
indent:
- error
- 2
linebreak-style:
- error
- unix
no-undef: 0
no-trailing-spaces:
- error
- ignoreComments: true
skipBlankLines: true
semi:
- error
- always
semi-spacing:
- error
- after: true
before: false
semi-style:
- error
- last
vue/component-name-in-template-casing: 0
vue/html-end-tags: error
vue/html-self-closing: 0
vue/no-v-model-argument: 0
vue/no-v-html: 0
vue/multi-word-component-names: 0
vue/max-attributes-per-line:
- error
- singleline: 6
multiline: 6
vue/singleline-html-element-content-newline: 0
vue/no-deprecated-events-api: 0
vue/require-default-prop: 0
vue/attributes-order: 0
vue/next-tick-style: # https://eslint.vuejs.org/rules/next-tick-style.html
- error
- promise