eslint-config-matsuri 5.0.0 → 5.1.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.
@@ -45,9 +45,12 @@ export const tsConfig = {
45
45
  "error",
46
46
  {
47
47
  allowString: true,
48
+ allowNumber: true,
48
49
  allowNullableObject: true,
49
- allowNullableBoolean: true,
50
- allowNullableString: true,
50
+ allowNullableBoolean: false,
51
+ allowNullableString: false,
52
+ allowNullableNumber: false,
53
+ allowNullableEnum: false,
51
54
  allowAny: true,
52
55
  },
53
56
  ],
@@ -86,5 +89,13 @@ export const tsConfig = {
86
89
  },
87
90
  },
88
91
  ],
92
+ /**
93
+ * This rule is included in recommended.
94
+ */
95
+ "@typescript-eslint/no-empty-object-type": [
96
+ "error",
97
+ // Allow extended interfaces
98
+ { allowInterfaces: "with-single-extends" },
99
+ ],
89
100
  },
90
101
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-matsuri",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "index.js",
@@ -27,7 +27,7 @@
27
27
  "eslint": "^8.43.0 || ^9.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@eslint/js": "9.9.0",
30
+ "@eslint/js": "9.9.1",
31
31
  "eslint-config-prettier": "9.1.0",
32
32
  "eslint-plugin-css-reorder": "0.5.1",
33
33
  "eslint-plugin-jsx-a11y": "6.9.0",
@@ -36,6 +36,6 @@
36
36
  "eslint-plugin-sort-imports-es6-autofix": "0.6.0",
37
37
  "eslint-plugin-unused-imports": "4.1.3",
38
38
  "globals": "15.9.0",
39
- "typescript-eslint": "8.0.1"
39
+ "typescript-eslint": "8.2.0"
40
40
  }
41
41
  }