mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-05 05:37:09 +00:00
build: add editorconfig and knip config
VA-851
This commit is contained in:
@@ -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
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user