@azat-io/eslint-config 2.37.0 → 2.38.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.
@@ -40,6 +40,7 @@ let packageJson = (_config) => ({
40
40
  "package-json/valid-bin": "error",
41
41
  "package-json/valid-name": "error",
42
42
  "package-json/valid-package-definition": "error",
43
+ "package-json/valid-scripts": "error",
43
44
  "package-json/valid-version": "error"
44
45
  }
45
46
  });
@@ -73,6 +73,7 @@ let svelte = async (config) => {
73
73
  "svelte/prefer-class-directive": "error",
74
74
  "svelte/prefer-destructured-store-props": "error",
75
75
  "svelte/prefer-style-directive": "error",
76
+ "svelte/prefer-svelte-reactivity": "error",
76
77
  "svelte/prefer-writable-derived": "error",
77
78
  "svelte/require-each-key": "error",
78
79
  "svelte/require-event-prefix": "error",
@@ -54,7 +54,6 @@ let vitest = async (config) => {
54
54
  "vitest/prefer-comparison-matcher": "error",
55
55
  "vitest/prefer-each": "error",
56
56
  "vitest/prefer-equality-matcher": "error",
57
- "vitest/prefer-expect-assertions": "error",
58
57
  "vitest/prefer-expect-resolves": "error",
59
58
  "vitest/prefer-hooks-in-order": "error",
60
59
  "vitest/prefer-hooks-on-top": "error",
package/dist/vue/index.js CHANGED
@@ -51,7 +51,12 @@ let vue = async (config) => {
51
51
  "vue/custom-event-name-casing": ["error", "kebab-case"],
52
52
  "vue/define-emits-declaration": "error",
53
53
  "vue/define-props-declaration": "error",
54
- "vue/define-props-destructuring": ["error", "always"],
54
+ "vue/define-props-destructuring": [
55
+ "error",
56
+ {
57
+ destructure: "always"
58
+ }
59
+ ],
55
60
  "vue/enforce-style-attribute": [
56
61
  "error",
57
62
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azat-io/eslint-config",
3
- "version": "2.37.0",
3
+ "version": "2.38.0",
4
4
  "description": "ESLint shareable config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
30
- "@vitest/eslint-plugin": "1.3.3",
30
+ "@vitest/eslint-plugin": "1.3.4",
31
31
  "astro-eslint-parser": "^1.2.2",
32
32
  "eslint-config-flat-gitignore": "^2.1.0",
33
33
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -35,33 +35,33 @@
35
35
  "eslint-plugin-de-morgan": "^1.3.0",
36
36
  "eslint-plugin-depend": "^1.2.0",
37
37
  "eslint-plugin-import-x": "^4.16.1",
38
- "eslint-plugin-jsdoc": "^51.3.1",
38
+ "eslint-plugin-jsdoc": "^51.4.1",
39
39
  "eslint-plugin-jsx-a11y": "^6.10.2",
40
- "eslint-plugin-n": "^17.20.0",
41
- "eslint-plugin-package-json": "^0.42.0",
40
+ "eslint-plugin-n": "^17.21.0",
41
+ "eslint-plugin-package-json": "^0.44.1",
42
42
  "eslint-plugin-perfectionist": "^4.15.0",
43
43
  "eslint-plugin-prefer-arrow": "^1.2.3",
44
44
  "eslint-plugin-prefer-let": "^4.0.0",
45
45
  "eslint-plugin-promise": "^7.2.1",
46
46
  "eslint-plugin-qwik": "^1.14.1",
47
47
  "eslint-plugin-react-compiler": "19.1.0-rc.1-rc-af1b7da-20250421",
48
- "eslint-plugin-react-dom": "^1.52.2",
48
+ "eslint-plugin-react-dom": "^1.52.3",
49
49
  "eslint-plugin-react-hooks": "^6.0.0",
50
- "eslint-plugin-react-hooks-extra": "^1.52.2",
51
- "eslint-plugin-react-naming-convention": "^1.52.2",
50
+ "eslint-plugin-react-hooks-extra": "^1.52.3",
51
+ "eslint-plugin-react-naming-convention": "^1.52.3",
52
52
  "eslint-plugin-react-perf": "^3.3.3",
53
- "eslint-plugin-react-web-api": "^1.52.2",
54
- "eslint-plugin-react-x": "^1.52.2",
53
+ "eslint-plugin-react-web-api": "^1.52.3",
54
+ "eslint-plugin-react-x": "^1.52.3",
55
55
  "eslint-plugin-regexp": "^2.9.0",
56
56
  "eslint-plugin-sonarjs": "^3.0.4",
57
- "eslint-plugin-svelte": "^3.10.1",
57
+ "eslint-plugin-svelte": "^3.11.0",
58
58
  "eslint-plugin-unicorn": "^59.0.1",
59
- "eslint-plugin-vue": "^10.2.0",
60
- "globals": "^16.2.0",
59
+ "eslint-plugin-vue": "^10.3.0",
60
+ "globals": "^16.3.0",
61
61
  "jsonc-eslint-parser": "^2.4.0",
62
- "svelte-eslint-parser": "^1.2.0",
63
- "typescript-eslint": "^8.35.1",
64
- "vue-eslint-parser": "^10.1.4"
62
+ "svelte-eslint-parser": "^1.3.0",
63
+ "typescript-eslint": "^8.37.0",
64
+ "vue-eslint-parser": "^10.2.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "eslint": ">=9.28.0"
package/readme.md CHANGED
@@ -152,6 +152,10 @@ This config uses the following plugins:
152
152
  - [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue)
153
153
  - [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint)
154
154
 
155
+ ## See also
156
+
157
+ - [`@azat-io/stylelint-config`](https://github.com/azat-io/stylelint-config)
158
+
155
159
  ## License
156
160
 
157
161
  MIT © [Azat S.](https://azat.io)