@kununu/eslint-config 2.6.0 → 3.0.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 +2 -0
- package/package.json +3 -4
package/index.js
CHANGED
|
@@ -180,6 +180,7 @@ module.exports = {
|
|
|
180
180
|
plugins: [
|
|
181
181
|
'@babel',
|
|
182
182
|
'react-hooks',
|
|
183
|
+
'sort-destructure-keys'
|
|
183
184
|
],
|
|
184
185
|
|
|
185
186
|
env: {
|
|
@@ -219,6 +220,7 @@ module.exports = {
|
|
|
219
220
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
220
221
|
"typescript-sort-keys/interface": ['error', 'asc', {'caseSensitive': false, 'natural': false, requiredFirst: true}],
|
|
221
222
|
"typescript-sort-keys/string-enum": ['error', 'asc', {'caseSensitive': false, 'natural': false}],
|
|
223
|
+
"sort-destructure-keys/sort-destructure-keys": [2, { "caseSensitive": false }],
|
|
222
224
|
'no-use-before-define': 'off',
|
|
223
225
|
'@typescript-eslint/no-use-before-define': ['error'],
|
|
224
226
|
'react/require-default-props': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "kununu/eslint-config",
|
|
@@ -39,11 +39,10 @@
|
|
|
39
39
|
"eslint-plugin-prettier": "4.2.1",
|
|
40
40
|
"eslint-plugin-react": "7.32.2",
|
|
41
41
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
42
|
+
"eslint-plugin-sort-destructure-keys": "1.5.0",
|
|
42
43
|
"eslint-plugin-testing-library": "5.11.0",
|
|
44
|
+
"eslint-plugin-typescript-sort-keys": "2.3.0",
|
|
43
45
|
"prettier": "2.8.8",
|
|
44
46
|
"typescript": "5.0.4"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"eslint-plugin-typescript-sort-keys": "^2.3.0"
|
|
48
47
|
}
|
|
49
48
|
}
|