@dr.pogodin/eslint-configs 0.2.2 → 0.2.3
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/config/javascript.js +7 -4
- package/package.json +3 -3
package/config/javascript.js
CHANGED
|
@@ -281,11 +281,14 @@ function newConfig({ noPerf } = {}) {
|
|
|
281
281
|
// eslint-disable-next-line import/no-named-as-default-member
|
|
282
282
|
extentions.push(perfectionist.configs['recommended-custom']);
|
|
283
283
|
|
|
284
|
+
const alphabet = Alphabet.generateRecommendedAlphabet()
|
|
285
|
+
.sortByNaturalSort()
|
|
286
|
+
.placeAllWithCaseBeforeAllWithOtherCase('uppercase')
|
|
287
|
+
.placeCharacterBefore({ characterAfter: '-', characterBefore: '/' })
|
|
288
|
+
.getCharacters();
|
|
289
|
+
|
|
284
290
|
settings.perfectionist = {
|
|
285
|
-
alphabet
|
|
286
|
-
.placeAllWithCaseBeforeAllWithOtherCase('uppercase')
|
|
287
|
-
.placeCharacterBefore({ characterAfter: '-', characterBefore: '/' })
|
|
288
|
-
.getCharacters(),
|
|
291
|
+
alphabet,
|
|
289
292
|
ignoreCase: false,
|
|
290
293
|
newlinesBetween: 'ignore',
|
|
291
294
|
newlinesInside: 'ignore',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dr.pogodin/eslint-configs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "ESLint configurations for TypeScript and/or React projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./config/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@babel/preset-react": "^7.28.5",
|
|
36
36
|
"@babel/preset-typescript": "^7.28.5",
|
|
37
37
|
"@eslint/js": "^9.39.2",
|
|
38
|
-
"@stylistic/eslint-plugin": "^5.7.
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
39
39
|
"eslint": "^9.39.2",
|
|
40
40
|
"eslint-plugin-import": "^2.32.0",
|
|
41
41
|
"eslint-plugin-jest": "^29.12.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"eslint-plugin-react": "^7.37.4",
|
|
45
45
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
|
-
"typescript-eslint": "^8.
|
|
47
|
+
"typescript-eslint": "^8.54.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint-import-resolver-typescript": "^4.4.4"
|