feat: install fallow + .fallowrc.json config

This commit is contained in:
2026-05-13 08:48:08 +02:00
parent 2722305398
commit e1d54a1f3e
3 changed files with 141 additions and 0 deletions

28
.fallowrc.json Normal file
View File

@@ -0,0 +1,28 @@
{
"$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json",
"ignorePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/.next/**",
"**/.turbo/**",
"**/storybook-static/**",
"**/__snapshots__/**",
"**/turbo/generators/templates/**",
"**/*.generated.ts",
"**/*.d.ts"
],
"ignoreDependencies": [],
"ignoreExportsUsedInFile": true,
"rules": {
"unused-files": "warn",
"unused-exports": "warn",
"unused-types": "off",
"circular-dependencies": "error",
"duplicate-code": "warn"
},
"health": {
"maxCyclomatic": 25,
"maxCognitive": 20,
"maxCrap": 35
}
}