@shayanthenerd/eslint-config 0.22.0 → 0.24.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.
@@ -287,6 +287,14 @@ interface Options {
287
287
  * @default true
288
288
  */
289
289
  markdown?: boolean | MarkdownOptions;
290
+ /**
291
+ * Use [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) to enforce Node.js best practices and catch common mistakes.
292
+ *
293
+ * Some rules depend on the specified Node.js version. Visit the documentation for [version-resolution options and project-specific configurations](https://github.com/eslint-community/eslint-plugin-n#configured-nodejs-version-range).
294
+ *
295
+ * @default true
296
+ */
297
+ node?: boolean | ConfigWithOverrides<PluginRules<'n'>>;
290
298
  /**
291
299
  * Whether [Nuxt](https://nuxt.com) is used in the project.
292
300
  *
@@ -343,6 +351,12 @@ interface Options {
343
351
  * @default false // `true` if "typescript" is detected in the dependencies when `autoDetectDeps` is enabled
344
352
  */
345
353
  typescript?: boolean | TypeScriptOptions;
354
+ /**
355
+ * Use [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) to enforce general best practices and catch common mistakes.
356
+ *
357
+ * @default true
358
+ */
359
+ unicorn?: boolean | ConfigWithOverrides<PluginRules<'unicorn'>>;
346
360
  /**
347
361
  * Use [eslint-plugin-vue](https://eslint.vuejs.org) to enforce Vue best practices, accessibility guidelines, stylistic rules, and identify mistakes.
348
362
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shayanthenerd/eslint-config",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style",
5
5
  "keywords": [
6
6
  "eslint",
@@ -54,41 +54,43 @@
54
54
  "dependencies": {
55
55
  "@eslint/css": "1.3.0",
56
56
  "@eslint/markdown": "8.0.2",
57
- "@html-eslint/eslint-plugin": "0.61.0",
57
+ "@html-eslint/eslint-plugin": "0.62.0",
58
58
  "@stylistic/eslint-plugin": "5.10.0",
59
- "@vitest/eslint-plugin": "1.6.19",
59
+ "@vitest/eslint-plugin": "1.6.20",
60
60
  "astro-eslint-parser": "1.4.0",
61
61
  "defu": "6.1.7",
62
62
  "eslint-flat-config-utils": "3.2.0",
63
63
  "eslint-import-resolver-typescript": "4.4.5",
64
64
  "eslint-plugin-astro": "1.7.0",
65
- "eslint-plugin-better-tailwindcss": "4.5.0",
65
+ "eslint-plugin-better-tailwindcss": "4.6.0",
66
66
  "eslint-plugin-cypress": "6.4.1",
67
67
  "eslint-plugin-import-x": "4.16.2",
68
68
  "eslint-plugin-jsx-a11y": "6.10.2",
69
+ "eslint-plugin-n": "18.1.0",
69
70
  "eslint-plugin-package-json": "1.3.0",
70
71
  "eslint-plugin-perfectionist": "5.9.0",
71
72
  "eslint-plugin-playwright": "2.10.4",
72
73
  "eslint-plugin-promise": "7.3.0",
73
- "eslint-plugin-storybook": "10.4.2",
74
+ "eslint-plugin-storybook": "10.4.4",
75
+ "eslint-plugin-unicorn": "65.0.1",
74
76
  "eslint-plugin-vue": "10.9.2",
75
77
  "eslint-plugin-vuejs-accessibility": "2.5.0",
76
78
  "eslint-plugin-zod": "4.7.0",
77
79
  "globals": "17.6.0",
78
80
  "local-pkg": "1.2.1",
79
- "tailwind-csstree": "0.3.2",
81
+ "tailwind-csstree": "0.3.3",
80
82
  "typescript-eslint": "8.61.0"
81
83
  },
82
84
  "devDependencies": {
83
85
  "@arethetypeswrong/cli": "0.18.3",
84
86
  "@eslint/config-inspector": "3.0.4",
85
- "@types/node": "25.9.2",
87
+ "@types/node": "25.9.3",
86
88
  "actions-up": "1.14.2",
87
89
  "eslint": "10.4.1",
88
90
  "eslint-plugin-zod-mini": "1.4.0",
89
91
  "eslint-typegen": "2.3.1",
90
92
  "nano-staged": "1.0.2",
91
- "prettier": "3.8.3",
93
+ "prettier": "3.8.4",
92
94
  "publint": "0.3.21",
93
95
  "serve": "14.2.6",
94
96
  "simple-git-hooks": "2.13.1",