@joshuaavalon/eslint-config-typescript 9.0.7 → 9.1.1
Sign up to get free protection for your applications and to get access to all the features.
package/dist/perfectionist.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
import type {
|
1
|
+
import type { Prefix } from "@joshuaavalon/eslint-config-javascript/utils";
|
2
|
+
import type { Linter } from "eslint";
|
2
3
|
import type { rules } from "eslint-plugin-perfectionist";
|
3
4
|
type PickRules = "@perfectionist/sort-imports" | "@perfectionist/sort-interfaces" | "@perfectionist/sort-intersection-types" | "@perfectionist/sort-object-types" | "@perfectionist/sort-union-types";
|
4
|
-
|
5
|
+
type Rules = Record<Prefix<keyof typeof rules, "@perfectionist/">, Linter.RuleSeverityAndOptions>;
|
6
|
+
export declare const perfectionistRules: Pick<Rules, PickRules>;
|
5
7
|
export {};
|
package/dist/perfectionist.js
CHANGED
@@ -21,7 +21,7 @@ export const perfectionistRules = {
|
|
21
21
|
"unknown"
|
22
22
|
],
|
23
23
|
ignoreCase: true,
|
24
|
-
internalPattern: ["
|
24
|
+
internalPattern: ["^~/.+", "^@/.+", "^#.+", "^#.*/.*"],
|
25
25
|
newlinesBetween: "ignore",
|
26
26
|
order: "asc",
|
27
27
|
type: "alphabetical"
|
@@ -51,7 +51,7 @@ export const perfectionistRules = {
|
|
51
51
|
{
|
52
52
|
ignoreCase: true,
|
53
53
|
order: "asc",
|
54
|
-
partitionByComment:
|
54
|
+
partitionByComment: false,
|
55
55
|
partitionByNewLine: false,
|
56
56
|
type: "alphabetical"
|
57
57
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"perfectionist.js","sourceRoot":"","sources":["../src/perfectionist.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"perfectionist.js","sourceRoot":"","sources":["../src/perfectionist.ts"],"names":[],"mappings":"AAaA,MAAM,CAAC,MAAM,kBAAkB,GAA2B;IACxD,6BAA6B,EAAE;QAC7B,OAAO;QACP;YACE,MAAM,EAAE;gBACN,SAAS;gBACT,UAAU;gBACV,UAAU;gBACV,QAAQ;gBACR,SAAS;gBACT,aAAa;gBACb,OAAO;gBACP,mBAAmB;gBACnB,cAAc;gBACd,eAAe;gBACf,eAAe;gBACf,aAAa;gBACb,cAAc;gBACd,YAAY;gBACZ,QAAQ;gBACR,SAAS;aACV;YACD,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC;YACtD,eAAe,EAAE,QAAQ;YACzB,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,cAAc;SACrB;KACF;IACD,gCAAgC,EAAE;QAChC,OAAO;QACP;YACE,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,KAAK;YACZ,kBAAkB,EAAE,KAAK;YACzB,IAAI,EAAE,cAAc;SACrB;KACF;IACD,wCAAwC,EAAE;QACxC,OAAO;QACP;YACE,MAAM,EAAE,EAAE;YACV,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,KAAK;YACZ,kBAAkB,EAAE,KAAK;YACzB,IAAI,EAAE,cAAc;SACrB;KACF;IACD,kCAAkC,EAAE;QAClC,OAAO;QACP;YACE,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,KAAK;YACZ,kBAAkB,EAAE,KAAK;YACzB,kBAAkB,EAAE,KAAK;YACzB,IAAI,EAAE,cAAc;SACrB;KACF;IACD,iCAAiC,EAAE;QACjC,OAAO;QACP;YACE,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,KAAK;YACZ,kBAAkB,EAAE,KAAK;YACzB,kBAAkB,EAAE,KAAK;YACzB,IAAI,EAAE,cAAc;SACrB;KACF;CACF,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@joshuaavalon/eslint-config-typescript",
|
3
|
-
"version": "9.
|
3
|
+
"version": "9.1.1",
|
4
4
|
"description": "Shareable ESLint Typescript config.",
|
5
5
|
"type": "module",
|
6
6
|
"module": "./dist/index.d.ts",
|
@@ -37,10 +37,10 @@
|
|
37
37
|
"url": "https://github.com/joshuaavalon/eslint-config/issues"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@joshuaavalon/eslint-config-javascript": "^9.
|
41
|
-
"typescript-eslint": "^8.
|
40
|
+
"@joshuaavalon/eslint-config-javascript": "^9.1.0",
|
41
|
+
"typescript-eslint": "^8.15.0"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
|
-
"eslint": "^9.
|
44
|
+
"eslint": "^9.15.0"
|
45
45
|
}
|
46
46
|
}
|