@repodog/eslint-config 9.0.27 → 9.0.29
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/README.md +1 -3
- package/index.mjs +0 -39
- package/package.json +5 -6
package/README.md
CHANGED
package/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import eslintPrettier from 'eslint-config-prettier/flat';
|
|
|
5
5
|
import eslintComments from 'eslint-plugin-eslint-comments';
|
|
6
6
|
import { importX } from 'eslint-plugin-import-x';
|
|
7
7
|
import preferArrow from 'eslint-plugin-prefer-arrow';
|
|
8
|
-
import sortClassMembers from 'eslint-plugin-sort-class-members';
|
|
9
8
|
import sortDestructureKeys from 'eslint-plugin-sort-destructure-keys';
|
|
10
9
|
import sortKeysFix from 'eslint-plugin-sort-keys-fix';
|
|
11
10
|
import typescriptSortKeys from 'eslint-plugin-typescript-sort-keys';
|
|
@@ -56,7 +55,6 @@ export default tsEslint.config(
|
|
|
56
55
|
'@stylistic': stylistic,
|
|
57
56
|
'eslint-comments': fixupPluginRules(eslintComments),
|
|
58
57
|
'prefer-arrow': fixupPluginRules(preferArrow),
|
|
59
|
-
'sort-class-members': fixupPluginRules(sortClassMembers),
|
|
60
58
|
'sort-destructure-keys': fixupPluginRules(sortDestructureKeys),
|
|
61
59
|
'sort-keys-fix': fixupPluginRules(sortKeysFix),
|
|
62
60
|
},
|
|
@@ -158,43 +156,6 @@ export default tsEslint.config(
|
|
|
158
156
|
singleReturnOnly: false,
|
|
159
157
|
},
|
|
160
158
|
],
|
|
161
|
-
'sort-class-members/sort-class-members': [
|
|
162
|
-
2,
|
|
163
|
-
{
|
|
164
|
-
accessorPairPositioning: 'getThenSet',
|
|
165
|
-
groups: {
|
|
166
|
-
'arrow-function-properties': [
|
|
167
|
-
{ propertyType: 'ArrowFunctionExpression', sort: 'alphabetical', type: 'property' },
|
|
168
|
-
],
|
|
169
|
-
methods: [{ sort: 'alphabetical', type: 'method' }],
|
|
170
|
-
'private-arrow-function-properties': [
|
|
171
|
-
{ name: '/_.+/', propertyType: 'ArrowFunctionExpression', type: 'property' },
|
|
172
|
-
],
|
|
173
|
-
'private-methods': [{ name: '/_.+/', sort: 'alphabetical', type: 'method' }],
|
|
174
|
-
'private-properties': [{ name: '/_.+/', sort: 'alphabetical', type: 'property' }],
|
|
175
|
-
properties: [{ sort: 'alphabetical', type: 'property' }],
|
|
176
|
-
'static-methods': [{ sort: 'alphabetical', static: true, type: 'method' }],
|
|
177
|
-
'static-private-methods': [{ name: '/_.+/', sort: 'alphabetical', static: true, type: 'method' }],
|
|
178
|
-
'static-private-properties': [{ name: '/_.+/', sort: 'alphabetical', static: true, type: 'property' }],
|
|
179
|
-
'static-properties': [{ sort: 'alphabetical', static: true, type: 'property' }],
|
|
180
|
-
},
|
|
181
|
-
order: [
|
|
182
|
-
'[static-properties]',
|
|
183
|
-
'[static-private-properties]',
|
|
184
|
-
'[static-methods]',
|
|
185
|
-
'[static-private-methods]',
|
|
186
|
-
'[arrow-function-properties]',
|
|
187
|
-
'[properties]',
|
|
188
|
-
'[private-arrow-function-properties]',
|
|
189
|
-
'[private-properties]',
|
|
190
|
-
'constructor',
|
|
191
|
-
'getters',
|
|
192
|
-
'setters',
|
|
193
|
-
'[methods]',
|
|
194
|
-
'[private-methods]',
|
|
195
|
-
],
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
159
|
'sort-destructure-keys/sort-destructure-keys': [2, { caseSensitive: true }],
|
|
199
160
|
'sort-imports': [
|
|
200
161
|
2,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repodog/eslint-config",
|
|
3
3
|
"description": "The Repodog ESLint config module.",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.29",
|
|
5
5
|
"author": "miami-man",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/repodog",
|
|
8
8
|
"repository": {
|
|
9
9
|
"directory": "configs/eslint-config",
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/badbatch/repodog
|
|
11
|
+
"url": "https://github.com/badbatch/repodog.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": "https://github.com/badbatch/repodog/issues",
|
|
14
14
|
"type": "module",
|
|
@@ -28,15 +28,14 @@
|
|
|
28
28
|
"eslint-config-prettier": "^10.1.8",
|
|
29
29
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
30
30
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
31
|
-
"eslint-plugin-import-x": "^4.
|
|
31
|
+
"eslint-plugin-import-x": "^4.17.0",
|
|
32
32
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
33
|
-
"eslint-plugin-sort-class-members": "^1.22.1",
|
|
34
33
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
35
34
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
36
35
|
"eslint-plugin-typescript-sort-keys": "^3.3.0",
|
|
37
36
|
"eslint-plugin-unicorn": "^66.0.0",
|
|
38
|
-
"globals": "^17.
|
|
39
|
-
"typescript-eslint": "^8.
|
|
37
|
+
"globals": "^17.7.0",
|
|
38
|
+
"typescript-eslint": "^8.62.0"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
41
|
"eslint": "<10",
|