@yamato-daiwa/style_guides 0.3.1 → 0.3.2

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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/style_guides",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "The guidelines for ESLint, Pug and Stylus.",
5
5
  "engines": {
6
6
  "node": ">=18.18.0"