feat: install fallow + .fallowrc.json config
This commit is contained in:
28
.fallowrc.json
Normal file
28
.fallowrc.json
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user