@yasainet/eslint 0.0.78 → 0.0.79
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 = ["
|
|
23
|
+
const EXCLUDE_LIST = ["types.ts", "proxy.ts", "utils.ts"];
|
|
24
24
|
|
|
25
25
|
export function generatePrefixLibMapping(featureRoot) {
|
|
26
26
|
const libRoot = featureRoot.replace(/features$/, "lib");
|
|
@@ -95,9 +95,9 @@ export const featureNameRule = {
|
|
|
95
95
|
const candidateTypePaths = [
|
|
96
96
|
path.join(
|
|
97
97
|
projectRoot,
|
|
98
|
-
featureRoot.replace(/features$/, "lib/supabase/
|
|
98
|
+
featureRoot.replace(/features$/, "lib/supabase/types.ts"),
|
|
99
99
|
),
|
|
100
|
-
path.join(projectRoot, "src/lib/supabase/
|
|
100
|
+
path.join(projectRoot, "src/lib/supabase/types.ts"),
|
|
101
101
|
];
|
|
102
102
|
const supabaseTypePath =
|
|
103
103
|
candidateTypePaths.find((p) => fs.existsSync(p)) ?? candidateTypePaths[0];
|