@jterrazz/codestyle 1.2.3 → 1.2.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jterrazz/codestyle",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
5
5
  "bin": {
6
6
  "codestyle": "./src/codestyle.sh"
@@ -5,9 +5,9 @@
5
5
  "categories": {
6
6
  "correctness": "error",
7
7
  "suspicious": "error",
8
- "perf": "warn",
8
+ "perf": "error",
9
9
  "pedantic": "off",
10
- "style": "warn",
10
+ "style": "error",
11
11
  "nursery": "off"
12
12
  },
13
13
  "rules": {
@@ -80,21 +80,25 @@
80
80
  "no-continue": "off",
81
81
  "arrow-body-style": "off",
82
82
  "prefer-destructuring": "off",
83
+ "new-cap": "off",
84
+ "no-await-in-loop": "off",
83
85
  "typescript/consistent-type-definitions": "off",
84
86
  "typescript/array-type": "off",
87
+ "typescript/no-inferrable-types": "off",
85
88
  "unicorn/no-null": "off",
86
89
  "unicorn/no-array-sort": "off",
90
+ "import/no-unassigned-import": "off",
91
+ "import/no-named-default": "off",
87
92
 
88
93
  // ============================================
89
94
  // ENABLED - Code style enforcement
90
95
  // ============================================
91
96
 
92
- "capitalized-comments": "warn",
93
- "new-cap": "error",
97
+ "capitalized-comments": "error",
94
98
  "curly": "error",
95
99
  "no-nested-ternary": "error",
96
100
  "unicorn/catch-error-name": "error",
97
- "unicorn/numeric-separators-style": "warn",
101
+ "unicorn/numeric-separators-style": "error",
98
102
 
99
103
  // ============================================
100
104
  // DISABLED - Conflicts with other rules