eslint-config-webpack 4.9.4 → 4.9.5

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.
@@ -690,6 +690,8 @@ const unicornRules = {
690
690
  // No need
691
691
  // "unicorn/consistent-function-scoping": "off",
692
692
 
693
+ "unicorn/consistent-template-literal-escape": "error",
694
+
693
695
  // No need
694
696
  // "unicorn/custom-error-definition": "off",
695
697
 
@@ -706,7 +708,7 @@ const unicornRules = {
706
708
  // No need
707
709
  // "unicorn/explicit-length-check": "off",
708
710
 
709
- // TODO
711
+ // TODO enable in future?
710
712
  "unicorn/filename-case": [
711
713
  "off",
712
714
  {
@@ -834,7 +836,7 @@ const unicornRules = {
834
836
  // No need
835
837
  // "unicorn/no-this-assignment": "off",
836
838
 
837
- // TODO - enable in future?
839
+ // TODO enable in future? Need to check performance
838
840
  // "unicorn/no-typeof-undefined": "off",
839
841
 
840
842
  "unicorn/no-unnecessary-array-flat-depth": "error",
@@ -862,6 +864,8 @@ const unicornRules = {
862
864
 
863
865
  "unicorn/no-useless-fallback-in-spread": "error",
864
866
 
867
+ "unicorn/no-useless-iterator-to-array": "error",
868
+
865
869
  "unicorn/no-useless-length-check": "error",
866
870
 
867
871
  "unicorn/no-useless-promise-resolve-reject": "error",
@@ -993,6 +997,9 @@ const unicornRules = {
993
997
  // No need
994
998
  // "unicorn/prefer-set-size": "off",
995
999
 
1000
+ // TODO enable in the next major release
1001
+ // "unicorn/prefer-simple-condition-first": "error",
1002
+
996
1003
  // No need
997
1004
  // "unicorn/prefer-single-call": "off",
998
1005
 
@@ -1045,6 +1052,10 @@ const unicornRules = {
1045
1052
  // No need
1046
1053
  // "unicorn/switch-case-braces": "off",
1047
1054
 
1055
+ // TODO maybe?
1056
+ // No need
1057
+ // "unicorn/switch-case-break-position": "off",
1058
+
1048
1059
  // No need
1049
1060
  // "unicorn/template-indent": "off",
1050
1061
 
@@ -12,6 +12,7 @@ async function getMarkdownRecommendedConfig() {
12
12
  files: ["**/*.md"],
13
13
  processor: "markdown/markdown",
14
14
  plugins: {
15
+ // @ts-expect-error bad types
15
16
  markdown: markdownPlugin,
16
17
  },
17
18
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-webpack",
3
- "version": "4.9.4",
3
+ "version": "4.9.5",
4
4
  "description": "Provides Webpack's eslint rules as an extensible shared config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -40,23 +40,23 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@eslint/js": "^9.39.2",
43
- "@eslint/markdown": "^7.5.1",
43
+ "@eslint/markdown": "^8.0.1",
44
44
  "@stylistic/eslint-plugin": "^5.10.0",
45
45
  "detect-indent": "^7.0.2",
46
46
  "eslint-config-prettier": "^10.1.8",
47
47
  "eslint-plugin-import": "^2.32.0",
48
- "eslint-plugin-jest": "^29.15.0",
49
- "eslint-plugin-jsdoc": "^62.8.0",
48
+ "eslint-plugin-jest": "^29.15.1",
49
+ "eslint-plugin-jsdoc": "^62.9.0",
50
50
  "eslint-plugin-n": "^17.24.0",
51
51
  "eslint-plugin-prettier": "^5.5.5",
52
52
  "eslint-plugin-react": "^7.37.5",
53
53
  "eslint-plugin-react-hooks": "^7.0.1",
54
- "eslint-plugin-unicorn": "^63.0.0",
54
+ "eslint-plugin-unicorn": "^64.0.0",
55
55
  "globals": "^17.4.0",
56
56
  "jsonc-eslint-parser": "^3.1.0",
57
57
  "semver": "^7.7.4",
58
58
  "sort-package-json": "^3.6.0",
59
- "typescript-eslint": "^8.57.2"
59
+ "typescript-eslint": "^8.58.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@changesets/cli": "^2.30.0",
@@ -69,7 +69,7 @@
69
69
  "react": "^19.2.3",
70
70
  "react-dom": "^19.2.3",
71
71
  "type-fest": "^5.5.0",
72
- "typescript": "^5.9.3"
72
+ "typescript": "^6.0.2"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "eslint": ">= 9.28.0",