@robinblomberg/eslint-config-robinblomberg 0.8.7 → 0.9.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.
- package/index.js +6 -4
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -24,7 +24,7 @@ module.exports = {
|
|
|
24
24
|
requireConfigFile: false,
|
|
25
25
|
sourceType: 'module',
|
|
26
26
|
},
|
|
27
|
-
plugins: ['import', 'jsdoc'],
|
|
27
|
+
plugins: ['import', 'jsdoc', 'sort-keys'],
|
|
28
28
|
root: true,
|
|
29
29
|
settings: {
|
|
30
30
|
'import/extensions': ['.js', '.ts'],
|
|
@@ -261,7 +261,7 @@ module.exports = {
|
|
|
261
261
|
},
|
|
262
262
|
],
|
|
263
263
|
'@typescript-eslint/no-extra-semi': warn,
|
|
264
|
-
'@typescript-eslint/no-extraneous-class':
|
|
264
|
+
'@typescript-eslint/no-extraneous-class': off,
|
|
265
265
|
'@typescript-eslint/no-floating-promises': [
|
|
266
266
|
warn,
|
|
267
267
|
{
|
|
@@ -376,7 +376,7 @@ module.exports = {
|
|
|
376
376
|
'@typescript-eslint/triple-slash-reference': warn,
|
|
377
377
|
'@typescript-eslint/type-annotation-spacing': warn,
|
|
378
378
|
'@typescript-eslint/typedef': off,
|
|
379
|
-
'@typescript-eslint/unbound-method':
|
|
379
|
+
'@typescript-eslint/unbound-method': off,
|
|
380
380
|
'@typescript-eslint/unified-signatures': warn,
|
|
381
381
|
'default-case': off,
|
|
382
382
|
'func-call-spacing': off,
|
|
@@ -391,6 +391,7 @@ module.exports = {
|
|
|
391
391
|
],
|
|
392
392
|
indent: off,
|
|
393
393
|
'init-declarations': off,
|
|
394
|
+
'jsdoc/check-examples': off,
|
|
394
395
|
'jsdoc/require-description': off,
|
|
395
396
|
'jsdoc/require-description-complete-sentence': off,
|
|
396
397
|
'jsdoc/require-example': off,
|
|
@@ -1328,7 +1329,8 @@ module.exports = {
|
|
|
1328
1329
|
memberSyntaxSortOrder: ['none', 'all', 'single', 'multiple'],
|
|
1329
1330
|
},
|
|
1330
1331
|
],
|
|
1331
|
-
'sort-keys':
|
|
1332
|
+
'sort-keys': off,
|
|
1333
|
+
'sort-keys/sort-keys-fix': [warn, 'asc', { natural: false }],
|
|
1332
1334
|
'sort-vars': warn,
|
|
1333
1335
|
'space-before-blocks': [warn, 'always'],
|
|
1334
1336
|
'space-before-function-paren': [warn, 'always'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robinblomberg/eslint-config-robinblomberg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"author": "Robin Blomberg",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"eslint-plugin-import": "^2.22.1",
|
|
23
23
|
"eslint-plugin-jsdoc": "^32.3.0",
|
|
24
24
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
25
|
-
"eslint-plugin-react": "^7.23.1"
|
|
25
|
+
"eslint-plugin-react": "^7.23.1",
|
|
26
|
+
"eslint-plugin-sort-keys": "^2.3.5"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@robinblomberg/eslint-config-robinblomberg": "^0.6.8",
|