@byloth/eslint-config-vue 3.2.0-rc.1 → 3.2.0
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/index.mjs +4 -5
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -51,7 +51,7 @@ export const INLINE_ELEMENTS = [
|
|
|
51
51
|
"video"
|
|
52
52
|
];
|
|
53
53
|
|
|
54
|
-
export default [...compat.extends("plugin:vue/
|
|
54
|
+
export default [...compat.extends("plugin:vue/recommended"), {
|
|
55
55
|
ignores: ["!**/.vitepress/"],
|
|
56
56
|
languageOptions: {
|
|
57
57
|
globals: {
|
|
@@ -65,9 +65,8 @@ export default [...compat.extends("plugin:vue/vue3-recommended"), {
|
|
|
65
65
|
plugins: { "vue": eslintVue },
|
|
66
66
|
rules: {
|
|
67
67
|
"vue/array-bracket-spacing": "error",
|
|
68
|
-
"vue/arrow-parens": "error",
|
|
69
68
|
"vue/arrow-spacing": "error",
|
|
70
|
-
"vue/block-order": ["error", ["script", "template", "style"]],
|
|
69
|
+
"vue/block-order": ["error", { order: ["script", "template", "style"] }],
|
|
71
70
|
"vue/block-spacing": "error",
|
|
72
71
|
"vue/block-tag-newline": ["error", {
|
|
73
72
|
multiline: "always",
|
|
@@ -105,7 +104,7 @@ export default [...compat.extends("plugin:vue/vue3-recommended"), {
|
|
|
105
104
|
allowEmptyLines: false
|
|
106
105
|
}],
|
|
107
106
|
"vue/no-unused-components": DYNAMIC_LEVEL,
|
|
108
|
-
"vue/no-unused-vars": [DYNAMIC_LEVEL, { ignorePattern: "^_
|
|
107
|
+
"vue/no-unused-vars": [DYNAMIC_LEVEL, { ignorePattern: "^_" }],
|
|
109
108
|
"vue/no-v-model-argument": "off",
|
|
110
109
|
"vue/object-curly-spacing": ["error", "always"],
|
|
111
110
|
"vue/object-property-newline": ["error", { allowAllPropertiesOnSameLine: true }],
|
|
@@ -128,7 +127,7 @@ export default [...compat.extends("plugin:vue/vue3-recommended"), {
|
|
|
128
127
|
}, {
|
|
129
128
|
files: ["**/*.vue"],
|
|
130
129
|
rules: {
|
|
131
|
-
"indent": "off",
|
|
130
|
+
"@stylistic/indent": "off",
|
|
132
131
|
"no-unused-vars": "off"
|
|
133
132
|
}
|
|
134
133
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byloth/eslint-config-vue",
|
|
3
|
-
"version": "3.2.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A collection of some common sense linting rules for Vue.js projects. ✔",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ESLint",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"main": "index.mjs",
|
|
32
32
|
"types": "index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@byloth/eslint-config": "3.2.0
|
|
34
|
+
"@byloth/eslint-config": "3.2.0",
|
|
35
35
|
"eslint-plugin-vue": "^10.4.0",
|
|
36
36
|
"vue-eslint-parser": "^10.2.0"
|
|
37
37
|
},
|