@robinblomberg/eslint-config-robinblomberg 0.21.0 → 0.23.0

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 +8 -3
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -351,9 +351,9 @@ module.exports = defineConfig({
351
351
  '@typescript-eslint/unbound-method': off,
352
352
  '@typescript-eslint/unified-signatures': warn,
353
353
  'default-case': off,
354
+ 'default-param-last': off,
354
355
  'func-call-spacing': off,
355
356
  'import/exports-last': off,
356
- 'import/extensions': off,
357
357
  'import/no-unassigned-import': off,
358
358
  // Disabled due to false positives:
359
359
  'import/no-unresolved': [off, { ignore: ['\\.types$'] }],
@@ -447,10 +447,15 @@ module.exports = defineConfig({
447
447
  rules: {
448
448
  '@typescript-eslint/no-magic-numbers': off,
449
449
  'jsdoc/require-jsdoc': off,
450
+ 'no-empty-character-class': off,
450
451
  'no-magic-numbers': off,
452
+ 'no-sparse-arrays': off,
451
453
  'sonarjs/no-duplicate-string': off,
452
454
  'sort-keys': off,
455
+ 'unicorn/better-regex': off,
453
456
  'unicorn/consistent-function-scoping': off,
457
+ 'unicorn/new-for-builtins': off,
458
+ 'unicorn/no-new-array': off,
454
459
  },
455
460
  },
456
461
  {
@@ -950,7 +955,7 @@ module.exports = defineConfig({
950
955
  'generator-star-spacing': [warn, { after: true, before: true }],
951
956
  'getter-return': warn,
952
957
  'global-require': off,
953
- 'guard-for-in': warn,
958
+ 'guard-for-in': off,
954
959
  'handle-callback-err': [warn, '^(err|error)$'],
955
960
  'id-blacklist': warn,
956
961
  'id-length': off,
@@ -1387,7 +1392,7 @@ module.exports = defineConfig({
1387
1392
  'sonarjs/no-redundant-boolean': warn,
1388
1393
  'sonarjs/no-redundant-jump': warn,
1389
1394
  'sonarjs/no-same-line-conditional': warn,
1390
- 'sonarjs/no-small-switch': warn,
1395
+ 'sonarjs/no-small-switch': off,
1391
1396
  'sonarjs/no-unused-collection': warn,
1392
1397
  'sonarjs/no-use-of-empty-return-value': warn,
1393
1398
  'sonarjs/no-useless-catch': warn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "author": "Robin Blomberg",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -12,23 +12,23 @@
12
12
  },
13
13
  "homepage": "https://github.com/RobinBlomberg/eslint-config#readme",
14
14
  "dependencies": {
15
- "@babel/core": "^7.23.6",
15
+ "@babel/core": "^7.23.7",
16
16
  "@babel/eslint-parser": "^7.23.3",
17
- "@typescript-eslint/eslint-plugin": "^6.14.0",
18
- "@typescript-eslint/parser": "^6.14.0",
19
- "eslint-define-config": "^2.0.0",
20
- "eslint-plugin-import": "^2.29.0",
21
- "eslint-plugin-jsdoc": "^46.9.1",
17
+ "@typescript-eslint/eslint-plugin": "^6.17.0",
18
+ "@typescript-eslint/parser": "^6.17.0",
19
+ "eslint-define-config": "^2.1.0",
20
+ "eslint-plugin-import": "^2.29.1",
21
+ "eslint-plugin-jsdoc": "^47.0.2",
22
22
  "eslint-plugin-jsx-a11y": "^6.8.0",
23
23
  "eslint-plugin-react": "^7.33.2",
24
24
  "eslint-plugin-sonarjs": "^0.23.0",
25
25
  "eslint-plugin-sort-exports": "^0.8.0",
26
26
  "eslint-plugin-sort-keys": "^2.3.5",
27
27
  "eslint-plugin-storybook": "^0.6.15",
28
- "eslint-plugin-unicorn": "^49.0.0"
28
+ "eslint-plugin-unicorn": "^50.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@robinblomberg/eslint-config-robinblomberg": "0.20.0",
31
+ "@robinblomberg/eslint-config-robinblomberg": "0.22.0",
32
32
  "@types/node": "*"
33
33
  },
34
34
  "peerDependencies": {