@cuiqg/eslint-config 2.8.12 → 2.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +5 -1
- package/package.json +9 -5
package/dist/index.mjs
CHANGED
|
@@ -480,6 +480,10 @@ async function vue(options = {}) {
|
|
|
480
480
|
"vue/define-props-declaration": "error",
|
|
481
481
|
"vue/define-props-destructuring": ["error", { destructure: "always" }],
|
|
482
482
|
"vue/enforce-style-attribute": ["error", { allow: ["scoped", "plain"] }],
|
|
483
|
+
"vue/max-attributes-per-line": ["error", {
|
|
484
|
+
"singleline": { "max": 1 },
|
|
485
|
+
"multiline": { "max": 1 }
|
|
486
|
+
}],
|
|
483
487
|
"vue/html-button-has-type": "error",
|
|
484
488
|
"vue/html-end-tags": "error",
|
|
485
489
|
"vue/jsx-uses-vars": "error",
|
|
@@ -542,7 +546,7 @@ async function vue(options = {}) {
|
|
|
542
546
|
"vue/no-undef-properties": "error",
|
|
543
547
|
"vue/no-unused-components": "error",
|
|
544
548
|
"vue/no-unused-emit-declarations": "error",
|
|
545
|
-
"vue/no-unused-vars": "error",
|
|
549
|
+
"vue/no-unused-vars": ["error", { ignorePattern: "^_" }],
|
|
546
550
|
"vue/no-use-computed-property-like-method": "error",
|
|
547
551
|
"vue/no-use-v-else-with-v-for": "error",
|
|
548
552
|
"vue/no-use-v-if-with-v-for": "error",
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuiqg/eslint-config",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.14",
|
|
4
4
|
"description": "Eslint config for @cuiqg",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config"
|
|
7
7
|
],
|
|
8
8
|
"homepage": "https://eslint-config.tsuiqg.me",
|
|
9
|
-
"repository":
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/cuiqg/eslint-config.git"
|
|
12
|
+
},
|
|
10
13
|
"publishConfig": {
|
|
11
14
|
"access": "public",
|
|
12
15
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -17,7 +20,8 @@
|
|
|
17
20
|
"main": "./dist/index.mjs",
|
|
18
21
|
"module": "./dist/index.mjs",
|
|
19
22
|
"exports": {
|
|
20
|
-
".": "./dist/index.mjs"
|
|
23
|
+
".": "./dist/index.mjs",
|
|
24
|
+
"./package.json": "./package.json"
|
|
21
25
|
},
|
|
22
26
|
"files": [
|
|
23
27
|
"dist"
|
|
@@ -28,8 +32,8 @@
|
|
|
28
32
|
"build:inspect": "npx @eslint/config-inspector build --config eslint-inspector.config.js",
|
|
29
33
|
"lint": "eslint .",
|
|
30
34
|
"lint:inspect": "npx @eslint/config-inspector --open false --config eslint-inspector.config.js",
|
|
31
|
-
"
|
|
32
|
-
"release": "bumpp
|
|
35
|
+
"prepublishOnly": "npm run build",
|
|
36
|
+
"release": "bumpp"
|
|
33
37
|
},
|
|
34
38
|
"devDependencies": {
|
|
35
39
|
"@eslint/config-inspector": "^1.4.2",
|