@robinblomberg/eslint-config-robinblomberg 0.8.8 → 0.10.0-beta1

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 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'],
@@ -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': warn,
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': [warn, 'asc', { natural: false }],
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.8.8",
3
+ "version": "0.10.0-beta1",
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": "^4.21.0",
20
- "@typescript-eslint/parser": "^4.21.0",
21
- "babel-eslint": "^11.0.0-beta.0",
22
- "eslint-plugin-import": "^2.22.1",
23
- "eslint-plugin-jsdoc": "^32.3.0",
24
- "eslint-plugin-jsx-a11y": "^6.4.1",
25
- "eslint-plugin-react": "^7.23.1"
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.6.8",
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
@@ -1,5 +0,0 @@
1
- {
2
- "hooks": {
3
- "pre-commit": "lint-staged"
4
- }
5
- }
@@ -1,3 +0,0 @@
1
- {
2
- "*.{js,ts}": "cross-env CI=true eslint"
3
- }