@robinblomberg/eslint-config-robinblomberg 0.8.9 → 0.10.0
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 +10 -3
- package/package.json +11 -12
- package/.huskyrc.json +0 -5
- package/.lintstagedrc.json +0 -3
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'],
|
|
@@ -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,
|
|
@@ -1121,7 +1122,12 @@ module.exports = {
|
|
|
1121
1122
|
'no-floating-decimal': warn,
|
|
1122
1123
|
'no-func-assign': warn,
|
|
1123
1124
|
'no-global-assign': warn,
|
|
1124
|
-
'no-implicit-coercion':
|
|
1125
|
+
'no-implicit-coercion': [
|
|
1126
|
+
warn,
|
|
1127
|
+
{
|
|
1128
|
+
boolean: false,
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1125
1131
|
'no-implicit-globals': warn,
|
|
1126
1132
|
'no-implied-eval': warn,
|
|
1127
1133
|
'no-inline-comments': off,
|
|
@@ -1328,7 +1334,8 @@ module.exports = {
|
|
|
1328
1334
|
memberSyntaxSortOrder: ['none', 'all', 'single', 'multiple'],
|
|
1329
1335
|
},
|
|
1330
1336
|
],
|
|
1331
|
-
'sort-keys':
|
|
1337
|
+
'sort-keys': off,
|
|
1338
|
+
'sort-keys/sort-keys-fix': [warn, 'asc', { natural: false }],
|
|
1332
1339
|
'sort-vars': warn,
|
|
1333
1340
|
'space-before-blocks': [warn, 'always'],
|
|
1334
1341
|
'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.10.0",
|
|
4
4
|
"author": "Robin Blomberg",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,20 +16,19 @@
|
|
|
16
16
|
"lint:fix": "eslint **/*.{js,ts} --fix"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
20
|
-
"@typescript-eslint/parser": "^
|
|
21
|
-
"babel-eslint": "
|
|
22
|
-
"eslint-plugin-import": "^2.
|
|
23
|
-
"eslint-plugin-jsdoc": "^
|
|
24
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
25
|
-
"eslint-plugin-react": "^7.
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
20
|
+
"@typescript-eslint/parser": "^5.6.0",
|
|
21
|
+
"babel-eslint": ">=10.1.0",
|
|
22
|
+
"eslint-plugin-import": "^2.25.3",
|
|
23
|
+
"eslint-plugin-jsdoc": "^37.2.0",
|
|
24
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
25
|
+
"eslint-plugin-react": "^7.27.1",
|
|
26
|
+
"eslint-plugin-sort-keys": "^2.3.5"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@robinblomberg/eslint-config-robinblomberg": "^0.
|
|
29
|
+
"@robinblomberg/eslint-config-robinblomberg": "^0.9.1",
|
|
29
30
|
"@types/node": "*",
|
|
30
|
-
"cross-env": "^7.0.3"
|
|
31
|
-
"husky": "^4.3.8",
|
|
32
|
-
"lint-staged": "^10.5.4"
|
|
31
|
+
"cross-env": "^7.0.3"
|
|
33
32
|
},
|
|
34
33
|
"peerDependencies": {
|
|
35
34
|
"@types/node": "*",
|
package/.huskyrc.json
DELETED
package/.lintstagedrc.json
DELETED