build: add editorconfig and knip config

VA-851
This commit is contained in:
Vance Ingalls
2026-03-23 10:23:07 -07:00
parent 958bd15408
commit deb8f6b412
2 changed files with 32 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
+23
View File
@@ -0,0 +1,23 @@
import type { KnipConfig } from "knip";
const config: KnipConfig = {
workspaces: {
"packages/cli": {
entry: ["src/cli.ts"],
},
"packages/core": {
entry: ["src/index.ts", "src/lint/index.ts", "src/compiler/index.ts"],
},
"packages/engine": {
entry: ["src/index.ts"],
},
"packages/producer": {
entry: ["src/index.ts", "src/server.ts"],
},
"packages/studio": {
entry: ["src/index.ts", "src/styles/tailwind-preset.ts"],
},
},
};
export default config;