@yasainet/eslint 0.0.76 → 0.0.77
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/package.json
CHANGED
|
@@ -20,7 +20,7 @@ function findProjectRoot() {
|
|
|
20
20
|
|
|
21
21
|
const PROJECT_ROOT = findProjectRoot();
|
|
22
22
|
|
|
23
|
-
const EXCLUDE_LIST = ["type.ts", "proxy.ts"];
|
|
23
|
+
const EXCLUDE_LIST = ["type.ts", "proxy.ts", "utils.ts"];
|
|
24
24
|
|
|
25
25
|
export function generatePrefixLibMapping(featureRoot) {
|
|
26
26
|
const libRoot = featureRoot.replace(/features$/, "lib");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const LIB_BOUNDARY_PATTERNS = [
|
|
2
2
|
{
|
|
3
|
-
|
|
3
|
+
regex: "^@/lib/(?!.*/utils$).+",
|
|
4
4
|
message:
|
|
5
|
-
"lib/* は queries からのみ import
|
|
5
|
+
"lib/* は queries からのみ import 可 (lib/**/utils.ts の純粋ヘルパーは全層から可)。他層は queries 経由で使う。",
|
|
6
6
|
},
|
|
7
7
|
];
|
|
8
8
|
|