diff --git a/src/utils/ast.test.ts b/src/rules/no-phyisical-properties/ast.test.ts similarity index 88% rename from src/utils/ast.test.ts rename to src/rules/no-phyisical-properties/ast.test.ts index eb7c76f..781a9d9 100644 --- a/src/utils/ast.test.ts +++ b/src/rules/no-phyisical-properties/ast.test.ts @@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest"; import { extractTokensFromNode } from "./ast.js"; -import type { Context } from "../rules/no-phyisical-properties/rule.js"; +import type { Context } from "./rule.js"; import type { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/utils"; describe("ast", () => { diff --git a/src/utils/ast.ts b/src/rules/no-phyisical-properties/ast.ts similarity index 99% rename from src/utils/ast.ts rename to src/rules/no-phyisical-properties/ast.ts index f055652..d5d66bf 100644 --- a/src/utils/ast.ts +++ b/src/rules/no-phyisical-properties/ast.ts @@ -5,7 +5,7 @@ import { NO_PHYSICAL_CLASSESS, type Context, type MessageId, -} from "../rules/no-phyisical-properties/rule.js"; +} from "./rule.js"; const unimplemented = new Set(); diff --git a/src/rules/no-phyisical-properties/rule.ts b/src/rules/no-phyisical-properties/rule.ts index a3c6261..5012e4a 100644 --- a/src/rules/no-phyisical-properties/rule.ts +++ b/src/rules/no-phyisical-properties/rule.ts @@ -3,8 +3,8 @@ import type { RuleContext, RuleModule, } from "@typescript-eslint/utils/ts-eslint"; -import { type Token, extractTokensFromNode } from "../../utils/ast.js"; -import { parseForPhysicalClasses } from "../../utils/tailwind.js"; +import { type Token, extractTokensFromNode } from "./ast.js"; +import { parseForPhysicalClasses } from "./tailwind.js"; // const cache = new Map< // /** invalid */ string, diff --git a/src/utils/tailwind.ts b/src/rules/no-phyisical-properties/tailwind.ts similarity index 100% rename from src/utils/tailwind.ts rename to src/rules/no-phyisical-properties/tailwind.ts