@d-kuehn/eslint-config 3.5.0 → 3.6.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/README.md CHANGED
@@ -77,7 +77,7 @@ export default combine(
77
77
 
78
78
  | Configuration | Purpose | Targeted Files |
79
79
  | ---------------------------------------------------------------------------------------------------------------------- | --------------------------- | --------------------------------------------------- |
80
- | [vitest() v1.1.12](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
80
+ | [vitest() v1.1.13](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
81
81
  | [playwright() v2.1.0](https://github.com/playwright-community/eslint-plugin-playwright) | Playwright E2E test rules | `tests/e2e/**`, `**/*.e2e.?([cm])[jt]s?(x)` |
82
82
  | [testingLibrary() v7.0.0](https://github.com/testing-library/eslint-plugin-testing-library) | Testing Library with Vue.js | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
83
83
 
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: "never",
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.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  "@eslint/js": "9.16.0",
32
32
  "@stylistic/eslint-plugin": "2.11.0",
33
33
  "@typescript-eslint/parser": "8.16.0",
34
- "@vitest/eslint-plugin": "1.1.12",
34
+ "@vitest/eslint-plugin": "1.1.13",
35
35
  "@vue/eslint-config-typescript": "14.1.4",
36
36
  "eslint": "9.16.0",
37
37
  "eslint-flat-config-utils": "0.4.0",