@robinblomberg/eslint-config-robinblomberg 0.18.0 → 0.18.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 +5 -5
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -222,7 +222,7 @@ 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': off,
225
+ '@typescript-eslint/no-explicit-any': warn,
226
226
  '@typescript-eslint/no-extra-non-null-assertion': warn,
227
227
  '@typescript-eslint/no-extra-parens': [
228
228
  warn,
@@ -266,7 +266,7 @@ module.exports = defineConfig({
266
266
  '@typescript-eslint/no-non-null-assertion': off,
267
267
  '@typescript-eslint/no-parameter-properties': off,
268
268
  '@typescript-eslint/no-redeclare': off,
269
- '@typescript-eslint/no-require-imports': warn,
269
+ '@typescript-eslint/no-require-imports': off,
270
270
  '@typescript-eslint/no-shadow': warn,
271
271
  '@typescript-eslint/no-this-alias': warn,
272
272
  '@typescript-eslint/no-throw-literal': warn,
@@ -402,7 +402,6 @@ module.exports = defineConfig({
402
402
  'require-await': off,
403
403
  semi: off,
404
404
  'space-before-function-paren': off,
405
- 'unicorn/prefer-module': off,
406
405
  },
407
406
  },
408
407
  // Based on `storybook/recommended`:
@@ -448,6 +447,7 @@ module.exports = defineConfig({
448
447
  '@typescript-eslint/no-magic-numbers': off,
449
448
  'jsdoc/require-jsdoc': off,
450
449
  'no-magic-numbers': off,
450
+ 'sonarjs/no-duplicate-string': off,
451
451
  'sort-keys': off,
452
452
  },
453
453
  },
@@ -983,7 +983,7 @@ module.exports = defineConfig({
983
983
  'import/no-deprecated': off,
984
984
  // Disabled due to slow performance, and because it's duplicated by `no-duplicate-imports`:
985
985
  'import/no-duplicates': off,
986
- 'import/no-dynamic-require': warn,
986
+ 'import/no-dynamic-require': off,
987
987
  'import/no-extraneous-dependencies': warn,
988
988
  'import/no-internal-modules': [
989
989
  off,
@@ -1541,7 +1541,7 @@ module.exports = defineConfig({
1541
1541
  'unicorn/prefer-string-starts-ends-with': warn,
1542
1542
  'unicorn/prefer-string-trim-start-end': warn,
1543
1543
  'unicorn/prefer-switch': warn,
1544
- 'unicorn/prefer-ternary': warn,
1544
+ 'unicorn/prefer-ternary': off,
1545
1545
  'unicorn/prefer-top-level-await': warn,
1546
1546
  'unicorn/prefer-type-error': warn,
1547
1547
  'unicorn/prevent-abbreviations': off,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "author": "Robin Blomberg",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "eslint-plugin-unicorn": "^48.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@robinblomberg/eslint-config-robinblomberg": "0.17.0-beta5",
31
+ "@robinblomberg/eslint-config-robinblomberg": "0.18.0",
32
32
  "@types/node": "*"
33
33
  },
34
34
  "peerDependencies": {