@alicevia/eslint-config-vue 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +26 -26
- package/package.json +2 -2
package/index.js
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
module.exports = {
|
2
|
-
overrides: [
|
3
|
-
{
|
4
|
-
files: ['*.vue'],
|
5
|
-
parser: 'vue-eslint-parser',
|
6
|
-
parserOptions: {
|
7
|
-
parser: '@typescript-eslint/parser'
|
8
|
-
},
|
9
|
-
extends: ['plugin:vue/vue3-recommended', '@alicevia/basic'],
|
10
|
-
rules: {
|
11
|
-
'vue/multi-word-component-names': 0,
|
12
|
-
'vue/html-self-closing': ['error', {
|
13
|
-
html: {
|
14
|
-
void: 'never',
|
15
|
-
normal: 'never',
|
16
|
-
component: 'never'
|
17
|
-
},
|
18
|
-
svg: 'always',
|
19
|
-
math: 'always'
|
20
|
-
}],
|
21
|
-
'vue/max-attributes-per-line': 'off'
|
22
|
-
|
23
|
-
}
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
1
|
+
module.exports = {
|
2
|
+
overrides: [
|
3
|
+
{
|
4
|
+
files: ['*.vue'],
|
5
|
+
parser: 'vue-eslint-parser',
|
6
|
+
parserOptions: {
|
7
|
+
parser: '@typescript-eslint/parser'
|
8
|
+
},
|
9
|
+
extends: ['plugin:vue/vue3-recommended', '@alicevia/basic'],
|
10
|
+
rules: {
|
11
|
+
'vue/multi-word-component-names': 0,
|
12
|
+
'vue/html-self-closing': ['error', {
|
13
|
+
html: {
|
14
|
+
void: 'never',
|
15
|
+
normal: 'never',
|
16
|
+
component: 'never'
|
17
|
+
},
|
18
|
+
svg: 'always',
|
19
|
+
math: 'always'
|
20
|
+
}],
|
21
|
+
'vue/max-attributes-per-line': 'off'
|
22
|
+
|
23
|
+
}
|
24
|
+
}
|
25
|
+
]
|
26
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@alicevia/eslint-config-vue",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.13",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"files": [
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"access": "public"
|
14
14
|
},
|
15
15
|
"dependencies": {
|
16
|
-
"@alicevia/eslint-config-ts": "1.0.
|
16
|
+
"@alicevia/eslint-config-ts": "1.0.13",
|
17
17
|
"eslint-plugin-vue": "^9.0.1",
|
18
18
|
"vue-eslint-parser": "^9.0.2"
|
19
19
|
},
|