eslint-config-sukka 3.0.2 → 3.0.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/legacy.js CHANGED
@@ -246,7 +246,7 @@ module.exports = {
246
246
  'no-multi-assign': ['error'],
247
247
  'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
248
248
  'no-negated-condition': 'off',
249
- 'no-nested-ternary': 'error',
249
+ 'no-nested-ternary': 'warn',
250
250
  'no-new-object': 'error',
251
251
  'no-ternary': 'off',
252
252
  'no-trailing-spaces': 'error',
package/node.js CHANGED
@@ -304,7 +304,7 @@ module.exports = {
304
304
  'no-multi-assign': ['error'],
305
305
  'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
306
306
  'no-negated-condition': 'off',
307
- 'no-nested-ternary': 'error',
307
+ 'no-nested-ternary': 'warn',
308
308
  'no-new-object': 'error',
309
309
  'no-ternary': 'off',
310
310
  'no-trailing-spaces': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-sukka",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "ESLint config for Sukka projects",
5
5
  "files": [
6
6
  "rules",
package/react.js CHANGED
@@ -303,7 +303,7 @@ module.exports = {
303
303
  'no-multi-assign': ['error'],
304
304
  'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
305
305
  'no-negated-condition': 'off',
306
- 'no-nested-ternary': 'error',
306
+ 'no-nested-ternary': 'warn',
307
307
  'no-new-object': 'error',
308
308
  'no-ternary': 'off',
309
309
  'no-trailing-spaces': 'error',
package/typescript.js CHANGED
@@ -287,7 +287,7 @@ module.exports = {
287
287
  'no-multi-assign': ['error'],
288
288
  'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
289
289
  'no-negated-condition': 'off',
290
- 'no-nested-ternary': 'error',
290
+ 'no-nested-ternary': 'warn',
291
291
  'no-new-object': 'error',
292
292
  'no-ternary': 'off',
293
293
  'no-trailing-spaces': 'error',
@@ -445,9 +445,6 @@ module.exports = {
445
445
  { checksVoidReturn: false }
446
446
  ],
447
447
  '@typescript-eslint/no-unnecessary-type-assertion': 'error',
448
- '@typescript-eslint/no-unsafe-call': 'off',
449
- '@typescript-eslint/no-unsafe-member-access': 'off',
450
- '@typescript-eslint/no-unsafe-return': 'off',
451
448
  '@typescript-eslint/restrict-template-expressions': [
452
449
  'error',
453
450
  { allowNumber: true, allowAny: true, allowBoolean: true }
@@ -586,10 +583,14 @@ module.exports = {
586
583
  }
587
584
  ],
588
585
  '@typescript-eslint/no-unsafe-assignment': 'off',
586
+ '@typescript-eslint/no-unsafe-argument': 'off',
589
587
  '@typescript-eslint/no-explicit-any': 'warn',
590
588
  '@typescript-eslint/no-loop-func': 'error',
591
589
  '@typescript-eslint/no-redundant-type-constituents': 'off',
592
590
  '@typescript-eslint/no-floating-promises': 'off',
591
+ '@typescript-eslint/no-unsafe-call': 'off',
592
+ '@typescript-eslint/no-unsafe-member-access': 'off',
593
+ '@typescript-eslint/no-unsafe-return': 'error',
593
594
  '@fluffyfox/array/no-unneeded-flat-map': 'error',
594
595
  '@fluffyfox/array/prefer-from': 'error',
595
596
  '@fluffyfox/browser/no-set-html': 'off',