forked from fermelli/laravel10-vue3-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (50 loc) · 1.67 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
{
"root": true,
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/base",
"plugin:vue/vue3-essential",
"plugin:vue/vue3-strongly-recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"plugins": ["vue", "prettier"],
"rules": {
"prettier/prettier": "error",
"vue/first-attribute-linebreak": "error",
"vue/html-closing-bracket-newline": "error",
"vue/html-closing-bracket-spacing": "error",
"vue/html-end-tags": "error",
"vue/html-indent": ["error", 4],
"vue/html-quotes": "error",
"vue/html-self-closing": "error",
"vue/max-attributes-per-line": "off",
"vue/multiline-html-element-content-newline": "error",
"vue/mustache-interpolation-spacing": "error",
"vue/no-multi-spaces": "error",
"vue/no-spaces-around-equal-signs-in-attribute": "error",
"vue/no-template-shadow": "error",
"vue/prop-name-casing": "error",
"vue/require-default-prop": "error",
"vue/require-explicit-emits": "error",
"vue/require-prop-types": "error",
"vue/v-bind-style": "error",
"vue/v-on-style": "error",
"vue/v-slot-style": "error",
"vue/attributes-order": "error",
"vue/component-tags-order": [
"error",
{ "order": ["script", "template", "style"] }
],
"vue/no-lone-template": "error",
"vue/no-multiple-slot-args": "error",
"vue/no-v-html": "error",
"vue/order-in-components": "error",
"vue/this-in-template": "error"
}
}