@robinblomberg/eslint-config-robinblomberg 0.34.3 → 0.34.5
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.
- package/index.d.ts.map +1 -1
- package/index.js +5 -4
- package/package.json +1 -1
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";AAyBA;;GAEG;AACH,sBAFU,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";AAyBA;;GAEG;AACH,sBAFU,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAghDxC"}
|
package/index.js
CHANGED
|
@@ -106,6 +106,7 @@ const config = [
|
|
|
106
106
|
'id-length': off,
|
|
107
107
|
'id-match': [warn, '^[$_]$|^[$_]?[_A-Za-z][A-Za-z0-9_]*$'],
|
|
108
108
|
'implicit-arrow-linebreak': [off, 'beside'],
|
|
109
|
+
'import/consistent-type-specifier-style': [warn, 'prefer-inline'],
|
|
109
110
|
'import/default': warn,
|
|
110
111
|
'import/dynamic-import-chunkname': off,
|
|
111
112
|
'import/export': warn,
|
|
@@ -517,7 +518,7 @@ const config = [
|
|
|
517
518
|
'sonarjs/no-use-of-empty-return-value': warn,
|
|
518
519
|
'sonarjs/no-useless-catch': warn,
|
|
519
520
|
'sonarjs/non-existent-operator': warn,
|
|
520
|
-
'sonarjs/prefer-immediate-return':
|
|
521
|
+
'sonarjs/prefer-immediate-return': off,
|
|
521
522
|
'sonarjs/prefer-object-literal': warn,
|
|
522
523
|
'sonarjs/prefer-single-boolean-return': warn,
|
|
523
524
|
'sonarjs/prefer-while': warn,
|
|
@@ -746,15 +747,15 @@ const config = [
|
|
|
746
747
|
warn,
|
|
747
748
|
{
|
|
748
749
|
disallowTypeAnnotations: true,
|
|
749
|
-
fixStyle: '
|
|
750
|
+
fixStyle: 'inline-type-imports',
|
|
750
751
|
prefer: 'type-imports',
|
|
751
752
|
},
|
|
752
753
|
],
|
|
753
754
|
'@typescript-eslint/default-param-last': warn,
|
|
754
755
|
'@typescript-eslint/dot-notation': warn,
|
|
755
756
|
'@typescript-eslint/explicit-function-return-type': [
|
|
756
|
-
|
|
757
|
-
{ allowTypedFunctionExpressions: true },
|
|
757
|
+
warn,
|
|
758
|
+
{ allowExpressions: true, allowTypedFunctionExpressions: true },
|
|
758
759
|
],
|
|
759
760
|
'@typescript-eslint/explicit-member-accessibility': [
|
|
760
761
|
warn,
|