@citrus-linting/eslint-config 0.20.1 → 0.21.1

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": "@citrus-linting/eslint-config",
3
- "version": "0.20.1",
3
+ "version": "0.21.1",
4
4
  "description": "ESLint config used by CitRUS.",
5
5
  "keywords": [
6
6
  "config",
@@ -16,8 +16,6 @@ module.exports = {
16
16
  "@typescript-eslint/method-signature-style": [2, "method"],
17
17
  "@typescript-eslint/no-base-to-string": [2],
18
18
  "@typescript-eslint/no-confusing-void-expression": [2, { ignoreArrowShorthand: true }],
19
- "no-duplicate-imports": 0,
20
- "@typescript-eslint/no-duplicate-imports": [2, { includeExports: true }],
21
19
  // "@typescript-eslint/no-dynamic-delete": 2,
22
20
  // "no-empty-function": 0,
23
21
  // "@typescript-eslint/no-empty-function": [2],
@@ -26,7 +24,6 @@ module.exports = {
26
24
  "@typescript-eslint/no-extraneous-class": [2],
27
25
  // "@typescript-eslint/no-floating-promises": [2],
28
26
  "@typescript-eslint/no-for-in-array": 2,
29
- "@typescript-eslint/no-implicit-any-catch": [2, { allowExplicitAny: true }],
30
27
  "no-implied-eval": 0,
31
28
  "@typescript-eslint/no-implied-eval": 2,
32
29
  "@typescript-eslint/no-inferrable-types": [2],
@@ -74,13 +71,21 @@ module.exports = {
74
71
  // "@typescript-eslint/require-array-sort-compare": [2],
75
72
  // "require-await": 0,
76
73
  // "@typescript-eslint/require-await": 2,
77
- "@typescript-eslint/restrict-plus-operands": [2, { checkCompoundAssignments: true }],
74
+ "@typescript-eslint/restrict-plus-operands": [
75
+ 2,
76
+ {
77
+ allowAny: false,
78
+ allowBoolean: false,
79
+ allowNullish: false,
80
+ allowNumberAndString: false,
81
+ allowRegExp: false
82
+ }
83
+ ],
78
84
  "@typescript-eslint/restrict-template-expressions": [
79
85
  2,
80
86
  {
81
- allowNumber: true,
82
- allowBoolean: true,
83
- allowNullable: true
87
+ allowAny: false,
88
+ allowRegExp: false
84
89
  }
85
90
  ],
86
91
  "no-return-await": 0,
@@ -168,7 +173,6 @@ module.exports = {
168
173
  "@typescript-eslint/no-confusing-non-null-assertion": 2,
169
174
  "@typescript-eslint/no-extra-non-null-assertion": 2,
170
175
  // "@typescript-eslint/no-non-null-assertion": 2,
171
- "@typescript-eslint/no-parameter-properties": [2],
172
176
  // "@typescript-eslint/no-type-alias": [2],
173
177
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": [2],
174
178
  "object-curly-spacing": 0,
@@ -178,7 +182,6 @@ module.exports = {
178
182
  "@typescript-eslint/quotes": [2, "double", { allowTemplateLiterals: true }],
179
183
  semi: 0,
180
184
  "@typescript-eslint/semi": [2, "never"],
181
- // "@typescript-eslint/sort-type-union-intersection-members": [2],
182
185
  "space-before-function-paren": 0,
183
186
  "@typescript-eslint/space-before-function-paren": [
184
187
  2,