@yamato-daiwa/style_guides 0.3.1 → 0.4.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.
@@ -1,8 +1,6 @@
1
1
  module.exports = {
2
2
 
3
- "max-nested-callbacks": "off",
4
-
5
- "no-magic-numbers": "off",
6
- "@typescript-eslint/no-magic-numbers": "off"
3
+ "n/no-unpublished-require": "off",
4
+ "n/no-unpublished-import": "off"
7
5
 
8
6
  };
@@ -7,6 +7,10 @@ module.exports = {
7
7
  "no-class-assign": "error",
8
8
  "no-const-assign": "error",
9
9
  "no-constructor-return": "error",
10
+ "no-ex-assign": "error",
11
+ "no-func-assign": "error",
12
+
13
+
10
14
  "no-import-assign": "error",
11
15
  "no-invalid-regexp": "error",
12
16
  "no-new-native-nonconstructor": "error",
@@ -32,10 +36,9 @@ module.exports = {
32
36
  "no-dupe-keys": "error",
33
37
  "no-duplicate-case": "error",
34
38
  "no-empty-character-class": "error",
35
- "no-empty-pattern": "error",
36
- "no-ex-assign": "error",
37
39
  "no-fallthrough": "error",
38
- "no-func-assign": "error",
40
+
41
+
39
42
  "no-inner-declarations": "error",
40
43
  "no-irregular-whitespace": [
41
44
  "error",
@@ -263,6 +266,9 @@ module.exports = {
263
266
  ],
264
267
 
265
268
  "no-duplicate-imports": "error",
269
+
270
+ "no-empty-pattern": "error",
271
+
266
272
  "no-unused-private-class-members": "error",
267
273
  "no-unused-vars": [
268
274
  "error",
@@ -148,6 +148,8 @@ module.exports = {
148
148
 
149
149
  "@typescript-eslint/no-unsafe-enum-comparison": "error",
150
150
 
151
+ "@typescript-eslint/no-unsafe-type-assertion": "error",
152
+
151
153
  "no-unused-expressions": "off",
152
154
  "@typescript-eslint/no-unused-expressions": "error",
153
155
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/style_guides",
3
- "version": "0.3.1",
4
- "description": "The guidelines for ESLint, Pug and Stylus.",
3
+ "version": "0.4.0",
4
+ "description": "The guidelines for ESLint and Pug.",
5
5
  "engines": {
6
6
  "node": ">=18.18.0"
7
7
  },
@@ -20,29 +20,29 @@
20
20
  "license": "MIT",
21
21
  "peerDependencies": {
22
22
  "@eslint-community/eslint-plugin-eslint-comments": "~4.4.0",
23
- "@stylistic/eslint-plugin": "~2.10.0",
24
- "@typescript-eslint/eslint-plugin": "~8.13.0",
25
- "@typescript-eslint/parser": "~8.13.0",
26
- "eslint": "~9.14.0",
23
+ "@stylistic/eslint-plugin": "~2.12.0",
24
+ "@typescript-eslint/eslint-plugin": "~8.18.0",
25
+ "@typescript-eslint/parser": "~8.18.0",
26
+ "eslint": "~9.17.0",
27
27
  "eslint-plugin-import": "2.31.0",
28
- "eslint-plugin-n": "~17.13.0",
28
+ "eslint-plugin-n": "~17.15.0",
29
29
  "eslint-plugin-react": "~7.37.0",
30
- "eslint-plugin-vue": "~9.30.0",
30
+ "eslint-plugin-vue": "~9.32.0",
31
31
  "eslint-plugin-vue-pug": "~0.6.2",
32
- "typescript": "~5.6.0"
32
+ "typescript": "~5.7.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
36
- "@stylistic/eslint-plugin": "2.10.1",
37
- "@typescript-eslint/eslint-plugin": "8.13.0",
38
- "@typescript-eslint/parser": "8.13.0",
39
- "eslint": "9.14.0",
36
+ "@stylistic/eslint-plugin": "2.12.1",
37
+ "@typescript-eslint/eslint-plugin": "8.18.2",
38
+ "@typescript-eslint/parser": "8.18.2",
39
+ "eslint": "9.17.0",
40
40
  "eslint-plugin-import": "2.31.0",
41
- "eslint-plugin-n": "17.13.1",
42
- "eslint-plugin-react": "7.37.2",
43
- "eslint-plugin-vue": "9.30.0",
41
+ "eslint-plugin-n": "17.15.1",
42
+ "eslint-plugin-react": "7.37.3",
43
+ "eslint-plugin-vue": "9.32.0",
44
44
  "eslint-plugin-vue-pug": "0.6.2",
45
- "typescript": "5.6.3",
45
+ "typescript": "5.7.2",
46
46
  "vue-facing-decorator": "3.0.4"
47
47
  },
48
48
  "files": [