Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

chore(tooling): harden repository file handling

wiiiii12360c6b458b73d
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
deleted file mode 100644
index f63fe7dc..00000000
--- a/.eslintrc.cjs
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = {
- root: true,
- env: { browser: true, es2020: true },
- extends: [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:react-hooks/recommended",
- ],
- ignorePatterns: ["dist", ".eslintrc.cjs"],
- parser: "@typescript-eslint/parser",
- plugins: ["react-refresh"],
- rules: {
- "react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
- },
-};
diff --git a/.gitattributes b/.gitattributes
index 6313b56c..f54a72c5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,25 @@
* text=auto eol=lf
+
+*.bat text eol=crlf
+*.cmd text eol=crlf
+
+*.dll binary
+*.exe binary
+*.gif binary
+*.icns binary
+*.ico binary
+*.jpeg binary
+*.jpg binary
+*.mov binary
+*.mp3 binary
+*.mp4 binary
+*.node binary
+*.pdf binary
+*.png binary
+*.ttf binary
+*.wasm binary
+*.wav binary
+*.webm binary
+*.woff binary
+*.woff2 binary
+*.zip binary
diff --git a/biome.json b/biome.json
index c1d2304e..6c8695eb 100644
--- a/biome.json
+++ b/biome.json
@@ -1,7 +1,18 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
- "files": { "ignoreUnknown": false },
+ "files": {
+ "ignoreUnknown": false,
+ "includes": [
+ "**",
+ "!!**/dist",
+ "!!**/dist-electron",
+ "!!**/dist-ssr",
+ "!!**/release",
+ "!!**/.tmp",
+ "!!**/electron/native/**/build"
+ ]
+ },
"formatter": {
"enabled": true,
"indentStyle": "tab",