@d-kuehn/eslint-config 3.5.1 → 3.7.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/dist/index.js +9 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -571,7 +571,7 @@ var stylistic = async (options = {}) => {
|
|
|
571
571
|
arrays: "always",
|
|
572
572
|
enums: "always",
|
|
573
573
|
exports: "always",
|
|
574
|
-
functions: "
|
|
574
|
+
functions: "always-multiline",
|
|
575
575
|
generics: "always",
|
|
576
576
|
imports: "always",
|
|
577
577
|
objects: "always",
|
|
@@ -653,6 +653,11 @@ var stylistic = async (options = {}) => {
|
|
|
653
653
|
blankLine: "always",
|
|
654
654
|
next: "export",
|
|
655
655
|
prev: "*"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
blankLine: "always",
|
|
659
|
+
next: ["enum", "interface", "type"],
|
|
660
|
+
prev: "*"
|
|
656
661
|
}
|
|
657
662
|
],
|
|
658
663
|
"@stylistic/quotes": ["error", "single"],
|
|
@@ -1112,6 +1117,8 @@ var vue = async (options = {}) => {
|
|
|
1112
1117
|
"vue/prefer-separate-static-class": "error",
|
|
1113
1118
|
"vue/prefer-template": "error",
|
|
1114
1119
|
"vue/prefer-true-attribute-shorthand": ["error", "always"],
|
|
1120
|
+
"vue/prefer-use-template-ref": "error",
|
|
1121
|
+
"vue/require-explicit-slots": "error",
|
|
1115
1122
|
// set to vue recommended defaults
|
|
1116
1123
|
"vue/require-macro-variable-name": [
|
|
1117
1124
|
"error",
|
|
@@ -1124,6 +1131,7 @@ var vue = async (options = {}) => {
|
|
|
1124
1131
|
}
|
|
1125
1132
|
],
|
|
1126
1133
|
"vue/require-typed-ref": "error",
|
|
1134
|
+
"vue/slot-name-casing": ["error", "camelCase"],
|
|
1127
1135
|
"vue/space-infix-ops": ["error", { int32Hint: false }],
|
|
1128
1136
|
"vue/template-curly-spacing": ["error", "never"],
|
|
1129
1137
|
"vue/v-for-delimiter-style": ["error", "in"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-kuehn/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"eslint-plugin-unicorn": "56.0.1",
|
|
48
48
|
"eslint-plugin-vue": "9.32.0",
|
|
49
49
|
"eslint-plugin-vuejs-accessibility": "2.4.1",
|
|
50
|
-
"globals": "15.
|
|
50
|
+
"globals": "15.13.0",
|
|
51
51
|
"jsonc-eslint-parser": "2.4.0",
|
|
52
52
|
"typescript-eslint": "8.16.0",
|
|
53
53
|
"vue-eslint-parser": "9.4.3"
|