@alicevia/eslint-config-vue 1.0.9 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +26 -16
- package/package.json +4 -13
package/index.js
CHANGED
@@ -1,16 +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
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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.12",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"files": [
|
@@ -13,18 +13,9 @@
|
|
13
13
|
"access": "public"
|
14
14
|
},
|
15
15
|
"dependencies": {
|
16
|
-
"@alicevia/eslint-config-ts": "1.0.
|
17
|
-
|
18
|
-
|
19
|
-
"eslint": ">=8.15.0",
|
20
|
-
"eslint-plugin-vue": "^8.7.1",
|
21
|
-
"vue-eslint-parser": "^9.0.2",
|
22
|
-
"@typescript-eslint/eslint-plugin": "^5.24.0",
|
23
|
-
"@typescript-eslint/parser": "^5.24.0",
|
24
|
-
"eslint-config-standard": "^17.0.0",
|
25
|
-
"eslint-plugin-import": "^2.26.0",
|
26
|
-
"eslint-plugin-n": "^15.2.0",
|
27
|
-
"eslint-plugin-promise": "^6.0.0"
|
16
|
+
"@alicevia/eslint-config-ts": "1.0.12",
|
17
|
+
"eslint-plugin-vue": "^9.0.1",
|
18
|
+
"vue-eslint-parser": "^9.0.2"
|
28
19
|
},
|
29
20
|
"scripts": {
|
30
21
|
"patch": "npm version patch"
|