@robinblomberg/eslint-config-robinblomberg 0.23.0 → 0.23.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.
Files changed (2) hide show
  1. package/index.js +3 -8
  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,
@@ -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,
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.1",
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.0",
32
32
  "@types/node": "*"
33
33
  },
34
34
  "peerDependencies": {