mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
style: apply Biome formatting to enterprise files
This commit is contained in:
@@ -23,7 +23,8 @@ const ENTERPRISE_DIR = join(ROOT, "packages/enterprise");
|
||||
// Catches static `from "..."`, side-effect `import "..."`, and dynamic `import("...")`
|
||||
// forms. The bare package entry "@snapotter/enterprise" (no trailing slash) stays
|
||||
// allowed; only reaching INTO the package is a violation.
|
||||
const INTERNAL_IMPORT = /(from|import)\s*[\s(]\s*["'](@snapotter\/enterprise\/|[./]*packages\/enterprise\/)/;
|
||||
const INTERNAL_IMPORT =
|
||||
/(from|import)\s*[\s(]\s*["'](@snapotter\/enterprise\/|[./]*packages\/enterprise\/)/;
|
||||
const APP_IMPORT = /(from|import)\s*[\s(]\s*["'][^"']*apps\/(api|web)\//;
|
||||
|
||||
const violations = [];
|
||||
|
||||
Reference in New Issue
Block a user