@robinblomberg/eslint-config-robinblomberg 0.14.0 → 0.15.0-beta2

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 +11 -10
  2. package/package.json +14 -14
package/index.js CHANGED
@@ -216,7 +216,7 @@ module.exports = {
216
216
  ],
217
217
  '@typescript-eslint/no-array-constructor': warn,
218
218
  '@typescript-eslint/no-base-to-string': warn,
219
- '@typescript-eslint/no-confusing-non-null-assertion': warn,
219
+ '@typescript-eslint/no-confusing-non-null-assertion': off,
220
220
  '@typescript-eslint/no-dupe-class-members': warn,
221
221
  '@typescript-eslint/no-dynamic-delete': off,
222
222
  '@typescript-eslint/no-empty-function': off,
@@ -312,7 +312,8 @@ module.exports = {
312
312
  '@typescript-eslint/prefer-includes': warn,
313
313
  '@typescript-eslint/prefer-literal-enum-member': warn,
314
314
  '@typescript-eslint/prefer-namespace-keyword': warn,
315
- '@typescript-eslint/prefer-nullish-coalescing': warn,
315
+ // Warns about correct uses of `||`:
316
+ '@typescript-eslint/prefer-nullish-coalescing': off,
316
317
  '@typescript-eslint/prefer-optional-chain': warn,
317
318
  '@typescript-eslint/prefer-readonly': warn,
318
319
  // Disabled due to error:
@@ -350,7 +351,12 @@ module.exports = {
350
351
  '@typescript-eslint/unified-signatures': warn,
351
352
  'default-case': off,
352
353
  'func-call-spacing': off,
354
+ 'import/exports-last': off,
353
355
  'import/extensions': off,
356
+ 'import/no-internal-modules': [
357
+ warn,
358
+ { allow: ['[@a-z][@a-z]***', '**/*.svg'] },
359
+ ],
354
360
  'import/no-unassigned-import': off,
355
361
  // Disabled due to false positives:
356
362
  'import/no-unresolved': [off, { ignore: ['\\.types$'] }],
@@ -782,7 +788,7 @@ module.exports = {
782
788
  'import/default': warn,
783
789
  'import/dynamic-import-chunkname': off,
784
790
  'import/export': warn,
785
- 'import/exports-last': warn,
791
+ 'import/exports-last': off,
786
792
  'import/extensions': [
787
793
  warn,
788
794
  {
@@ -809,10 +815,6 @@ module.exports = {
809
815
  'import/no-duplicates': warn,
810
816
  'import/no-dynamic-require': warn,
811
817
  'import/no-extraneous-dependencies': warn,
812
- 'import/no-internal-modules': [
813
- warn,
814
- { allow: ['[@a-z][@a-z]***', '**/*.svg'] },
815
- ],
816
818
  'import/no-mutable-exports': warn,
817
819
  'import/no-named-as-default': warn,
818
820
  'import/no-named-as-default-member': warn,
@@ -864,7 +866,6 @@ module.exports = {
864
866
  'jsdoc/empty-tags': warn,
865
867
  'jsdoc/implements-on-classes': warn,
866
868
  'jsdoc/match-description': warn,
867
- 'jsdoc/newline-after-description': warn,
868
869
  'jsdoc/no-bad-blocks': warn,
869
870
  'jsdoc/no-defaults': warn,
870
871
  'jsdoc/no-types': off,
@@ -1107,7 +1108,7 @@ module.exports = {
1107
1108
  'no-multiple-empty-lines': [warn, { max: 1, maxEOF: 0 }],
1108
1109
  'no-negated-condition': warn,
1109
1110
  'no-negated-in-lhs': warn,
1110
- 'no-nested-ternary': warn,
1111
+ 'no-nested-ternary': off,
1111
1112
  'no-new': warn,
1112
1113
  'no-new-func': warn,
1113
1114
  'no-new-object': warn,
@@ -1211,7 +1212,7 @@ module.exports = {
1211
1212
  'no-sparse-arrays': warn,
1212
1213
  'no-sync': off,
1213
1214
  'no-tabs': warn,
1214
- 'no-template-curly-in-string': warn,
1215
+ 'no-template-curly-in-string': off,
1215
1216
  'no-ternary': off,
1216
1217
  'no-this-before-super': warn,
1217
1218
  'no-throw-literal': warn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinblomberg/eslint-config-robinblomberg",
3
- "version": "0.14.0",
3
+ "version": "0.15.0-beta2",
4
4
  "author": "Robin Blomberg",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -11,25 +11,25 @@
11
11
  "url": "https://github.com/RobinBlomberg/eslint-config/issues"
12
12
  },
13
13
  "homepage": "https://github.com/RobinBlomberg/eslint-config#readme",
14
- "scripts": {
15
- "lint": "eslint **/*.{js,ts}",
16
- "lint:fix": "eslint **/*.{js,ts} --fix"
17
- },
18
14
  "dependencies": {
19
- "@babel/core": "^7.21.0",
20
- "@babel/eslint-parser": "^7.19.1",
21
- "@typescript-eslint/eslint-plugin": "^5.55.0",
22
- "@typescript-eslint/parser": "^5.55.0",
23
- "eslint": "^8.36.0",
15
+ "@babel/core": "^7.22.5",
16
+ "@babel/eslint-parser": "^7.22.5",
17
+ "@typescript-eslint/eslint-plugin": "^5.60.0",
18
+ "@typescript-eslint/parser": "^5.60.0",
19
+ "eslint": "^8.43.0",
24
20
  "eslint-plugin-import": "^2.27.5",
25
- "eslint-plugin-jsdoc": "^40.0.2",
21
+ "eslint-plugin-jsdoc": "^46.2.6",
26
22
  "eslint-plugin-jsx-a11y": "^6.7.1",
27
23
  "eslint-plugin-react": "^7.32.2",
28
24
  "eslint-plugin-sort-keys": "^2.3.5",
29
- "typescript": "^4.9.5"
25
+ "typescript": "^5.1.3"
30
26
  },
31
27
  "devDependencies": {
32
- "@robinblomberg/eslint-config-robinblomberg": "0.13.0",
28
+ "@robinblomberg/eslint-config-robinblomberg": "0.14.0",
33
29
  "@types/node": "*"
30
+ },
31
+ "scripts": {
32
+ "lint": "eslint **/*.{js,ts}",
33
+ "lint:fix": "eslint **/*.{js,ts} --fix"
34
34
  }
35
- }
35
+ }