@kununu/eslint-config 2.5.1 → 2.6.0-beta.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 +3 -0
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -208,6 +208,7 @@ module.exports = {
|
|
|
208
208
|
plugins: [
|
|
209
209
|
'react-hooks',
|
|
210
210
|
'@typescript-eslint',
|
|
211
|
+
'typescript-sort-keys'
|
|
211
212
|
],
|
|
212
213
|
rules: {
|
|
213
214
|
...baseRules,
|
|
@@ -216,6 +217,8 @@ module.exports = {
|
|
|
216
217
|
'@typescript-eslint/object-curly-spacing': ['error', 'never'],
|
|
217
218
|
'@typescript-eslint/no-var-requires': 'off',
|
|
218
219
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
220
|
+
"typescript-sort-keys/interface": ['error', 'asc', {'caseSensitive': false, 'natural': false, requiredFirst: true}],
|
|
221
|
+
"typescript-sort-keys/string-enum": ['error', 'asc', {'caseSensitive': false, 'natural': false}],
|
|
219
222
|
'no-use-before-define': 'off',
|
|
220
223
|
'@typescript-eslint/no-use-before-define': ['error'],
|
|
221
224
|
'react/require-default-props': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0-beta.1",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "kununu/eslint-config",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"eslint-plugin-react": "7.32.2",
|
|
41
41
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
42
42
|
"eslint-plugin-testing-library": "5.11.0",
|
|
43
|
+
"eslint-plugin-typescript-sort-keys": "2.3.0",
|
|
43
44
|
"prettier": "2.8.8",
|
|
44
45
|
"typescript": "5.0.4"
|
|
45
46
|
}
|