@robinblomberg/eslint-config-robinblomberg 0.23.0 → 0.23.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.
Files changed (2) hide show
  1. package/index.js +5 -10
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1122,7 +1122,7 @@ module.exports = defineConfig({
1122
1122
  'no-irregular-whitespace': warn,
1123
1123
  'no-iterator': warn,
1124
1124
  'no-label-var': warn,
1125
- 'no-labels': [warn, { allowLoop: false, allowSwitch: false }],
1125
+ 'no-labels': [off, { allowLoop: false, allowSwitch: false }],
1126
1126
  'no-lone-blocks': off,
1127
1127
  'no-lonely-if': warn,
1128
1128
  'no-loop-func': warn,
@@ -1239,12 +1239,7 @@ module.exports = defineConfig({
1239
1239
  'no-restricted-imports': warn,
1240
1240
  'no-restricted-modules': warn,
1241
1241
  'no-restricted-properties': warn,
1242
- 'no-restricted-syntax': [
1243
- warn,
1244
- 'FunctionDeclaration',
1245
- 'LabeledStatement',
1246
- 'WithStatement',
1247
- ],
1242
+ 'no-restricted-syntax': [warn, 'FunctionDeclaration', 'WithStatement'],
1248
1243
  'no-return-assign': [warn, 'except-parens'],
1249
1244
  'no-return-await': off,
1250
1245
  'no-script-url': warn,
@@ -1383,7 +1378,7 @@ module.exports = defineConfig({
1383
1378
  'sonarjs/no-gratuitous-expressions': off,
1384
1379
  'sonarjs/no-identical-conditions': warn,
1385
1380
  'sonarjs/no-identical-expressions': warn,
1386
- 'sonarjs/no-identical-functions': warn,
1381
+ 'sonarjs/no-identical-functions': off,
1387
1382
  'sonarjs/no-ignored-return': warn,
1388
1383
  'sonarjs/no-inverted-boolean-check': off,
1389
1384
  'sonarjs/no-nested-switch': off,
@@ -1475,7 +1470,7 @@ module.exports = defineConfig({
1475
1470
  'unicorn/no-document-cookie': warn,
1476
1471
  'unicorn/no-empty-file': warn,
1477
1472
  'unicorn/no-for-loop': warn,
1478
- 'unicorn/no-hex-escape': warn,
1473
+ 'unicorn/no-hex-escape': off,
1479
1474
  'unicorn/no-instanceof-array': warn,
1480
1475
  'unicorn/no-invalid-remove-event-listener': warn,
1481
1476
  'unicorn/no-keyword-prefix': off,
@@ -1566,7 +1561,7 @@ module.exports = defineConfig({
1566
1561
  'unicorn/text-encoding-identifier-case': warn,
1567
1562
  'unicorn/throw-new-error': warn,
1568
1563
  'use-isnan': warn,
1569
- 'valid-typeof': [warn, { requireStringLiterals: true }],
1564
+ 'valid-typeof': [off, { requireStringLiterals: true }],
1570
1565
  'vars-on-top': warn,
1571
1566
  'wrap-iife': [warn, 'any', { functionPrototypeMethods: true }],
1572
1567
  'wrap-regex': off,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.23.0",
3
+ "version": "0.23.2",
4
4
  "author": "Robin Blomberg",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "eslint-plugin-unicorn": "^50.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@robinblomberg/eslint-config-robinblomberg": "0.22.0",
31
+ "@robinblomberg/eslint-config-robinblomberg": "0.23.1",
32
32
  "@types/node": "*"
33
33
  },
34
34
  "peerDependencies": {