@robinblomberg/eslint-config-robinblomberg 0.18.1 → 0.19.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 +9 -6
  2. package/package.json +11 -11
package/index.js CHANGED
@@ -222,7 +222,8 @@ module.exports = defineConfig({
222
222
  '@typescript-eslint/no-dynamic-delete': off,
223
223
  '@typescript-eslint/no-empty-function': off,
224
224
  '@typescript-eslint/no-empty-interface': warn,
225
- '@typescript-eslint/no-explicit-any': warn,
225
+ // Often warns about necessary uses:
226
+ '@typescript-eslint/no-explicit-any': off,
226
227
  '@typescript-eslint/no-extra-non-null-assertion': warn,
227
228
  '@typescript-eslint/no-extra-parens': [
228
229
  warn,
@@ -292,7 +293,7 @@ module.exports = defineConfig({
292
293
  '@typescript-eslint/no-unused-vars': [
293
294
  warn,
294
295
  {
295
- args: 'after-used',
296
+ args: 'none',
296
297
  argsIgnorePattern: '^_.*$',
297
298
  vars: 'all',
298
299
  varsIgnorePattern: '^_.*$|^T$',
@@ -449,6 +450,7 @@ module.exports = defineConfig({
449
450
  'no-magic-numbers': off,
450
451
  'sonarjs/no-duplicate-string': off,
451
452
  'sort-keys': off,
453
+ 'unicorn/consistent-function-scoping': off,
452
454
  },
453
455
  },
454
456
  {
@@ -729,6 +731,7 @@ module.exports = defineConfig({
729
731
  '@typescript-eslint/no-use-before-define': off,
730
732
  'import/no-default-export': off,
731
733
  'jsdoc/require-jsdoc': off,
734
+ 'max-classes-per-file': off,
732
735
  },
733
736
  },
734
737
  {
@@ -847,7 +850,7 @@ module.exports = defineConfig({
847
850
  'jsdoc/require-file-overview': off,
848
851
  'jsdoc/require-hyphen-before-param-description': [warn, 'never'],
849
852
  'jsdoc/require-jsdoc': [
850
- warn,
853
+ off,
851
854
  {
852
855
  exemptEmptyFunctions: true,
853
856
  publicOnly: false,
@@ -875,7 +878,7 @@ module.exports = defineConfig({
875
878
  'jsdoc/require-param-name': warn,
876
879
  'jsdoc/require-param-type': [warn, { contexts: ['any'] }],
877
880
  'jsdoc/require-property': warn,
878
- 'jsdoc/require-property-description': warn,
881
+ 'jsdoc/require-property-description': off,
879
882
  'jsdoc/require-property-name': warn,
880
883
  'jsdoc/require-property-type': warn,
881
884
  'jsdoc/require-returns': off,
@@ -1274,7 +1277,7 @@ module.exports = defineConfig({
1274
1277
  'no-unused-vars': [
1275
1278
  warn,
1276
1279
  {
1277
- args: 'after-used',
1280
+ args: 'none',
1278
1281
  argsIgnorePattern: '^_.*$',
1279
1282
  vars: 'all',
1280
1283
  varsIgnorePattern: '^_.*$|^T$',
@@ -1476,7 +1479,7 @@ module.exports = defineConfig({
1476
1479
  'unicorn/no-new-array': warn,
1477
1480
  'unicorn/no-new-buffer': warn,
1478
1481
  'unicorn/no-null': off,
1479
- 'unicorn/no-object-as-default-parameter': warn,
1482
+ 'unicorn/no-object-as-default-parameter': off,
1480
1483
  'unicorn/no-process-exit': warn,
1481
1484
  'unicorn/no-static-only-class': warn,
1482
1485
  // Disabled due to slow performance:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.18.1",
3
+ "version": "0.19.1",
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.22.9",
16
- "@babel/eslint-parser": "^7.22.9",
17
- "@typescript-eslint/eslint-plugin": "^6.2.1",
18
- "@typescript-eslint/parser": "^6.2.1",
19
- "eslint-define-config": "^1.22.0",
20
- "eslint-plugin-import": "^2.28.0",
21
- "eslint-plugin-jsdoc": "^46.4.5",
15
+ "@babel/core": "^7.22.10",
16
+ "@babel/eslint-parser": "^7.22.10",
17
+ "@typescript-eslint/eslint-plugin": "^6.4.0",
18
+ "@typescript-eslint/parser": "^6.4.0",
19
+ "eslint-define-config": "^1.23.0",
20
+ "eslint-plugin-import": "^2.28.1",
21
+ "eslint-plugin-jsdoc": "^46.5.0",
22
22
  "eslint-plugin-jsx-a11y": "^6.7.1",
23
- "eslint-plugin-react": "^7.33.1",
24
- "eslint-plugin-sonarjs": "^0.19.0",
23
+ "eslint-plugin-react": "^7.33.2",
24
+ "eslint-plugin-sonarjs": "^0.20.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.13",
28
28
  "eslint-plugin-unicorn": "^48.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@robinblomberg/eslint-config-robinblomberg": "0.18.0",
31
+ "@robinblomberg/eslint-config-robinblomberg": "0.19.0",
32
32
  "@types/node": "*"
33
33
  },
34
34
  "peerDependencies": {