@d-kuehn/eslint-config 3.20.0 → 3.20.2

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.17](https://github.com/vitest-dev/eslint-plugin-vitest) | Vitest test rules | `**/*.{spec,test,bench,benchmark}.?([cm])[jt]s?(x)` |
80
+ | [vitest() v1.1.22](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.1.1](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
@@ -908,8 +908,8 @@ var vitest = async (options = {}) => {
908
908
  ...options?.plugins && options.plugins
909
909
  },
910
910
  rules: {
911
- ...pluginVitest.configs.all.rules,
912
- ...pluginVitest.configs.recommended.rules,
911
+ ...pluginVitest?.configs?.all?.rules,
912
+ ...pluginVitest?.configs?.recommended?.rules,
913
913
  // ref: https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/unbound-method.md
914
914
  // todo: disable when https://github.com/vitest-dev/eslint-plugin-vitest/issues/482 is done
915
915
  "@typescript-eslint/unbound-method": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-kuehn/eslint-config",
3
- "version": "3.20.0",
3
+ "version": "3.20.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  "@eslint/js": "9.17.0",
32
32
  "@stylistic/eslint-plugin": "2.12.1",
33
33
  "@typescript-eslint/parser": "8.19.0",
34
- "@vitest/eslint-plugin": "1.1.17",
34
+ "@vitest/eslint-plugin": "1.1.22",
35
35
  "@vue/eslint-config-typescript": "14.2.0",
36
36
  "eslint": "9.17.0",
37
37
  "eslint-flat-config-utils": "0.4.0",