mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-04-28 01:42:05 +00:00
fix
This commit is contained in:
parent
f33ba635e8
commit
8f3f37ae7e
@ -1,39 +0,0 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"rulesPath": ".windsurf/rules.json",
|
||||
"integration": {
|
||||
"ide": {
|
||||
"cursor": true,
|
||||
"vscode": true
|
||||
},
|
||||
"autoApply": true,
|
||||
"notifications": true,
|
||||
"autoFix": {
|
||||
"enabled": true,
|
||||
"onSave": true,
|
||||
"formatOnSave": true,
|
||||
"suggestImports": true,
|
||||
"suggestComponents": true
|
||||
},
|
||||
"suggestions": {
|
||||
"inline": true,
|
||||
"quickFix": true,
|
||||
"codeActions": true,
|
||||
"snippets": true
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"codeCompletion": true,
|
||||
"linting": true,
|
||||
"formatting": true,
|
||||
"importValidation": true,
|
||||
"dependencyChecks": true,
|
||||
"uiStandardization": true
|
||||
},
|
||||
"hooks": {
|
||||
"preCommit": true,
|
||||
"prePush": true,
|
||||
"onFileCreate": true,
|
||||
"onImportAdd": true
|
||||
}
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"rules": {
|
||||
"fileTypes": {
|
||||
"typescript": ["ts", "tsx"],
|
||||
"javascript": ["js", "jsx", "mjs", "cjs"],
|
||||
"json": ["json"],
|
||||
"markdown": ["md"],
|
||||
"css": ["css"],
|
||||
"dockerfile": ["Dockerfile"]
|
||||
},
|
||||
"formatting": {
|
||||
"typescript": {
|
||||
"indentSize": 2,
|
||||
"useTabs": false,
|
||||
"maxLineLength": 100,
|
||||
"semicolons": true,
|
||||
"quotes": "single",
|
||||
"trailingComma": "es5"
|
||||
},
|
||||
"javascript": {
|
||||
"indentSize": 2,
|
||||
"useTabs": false,
|
||||
"maxLineLength": 100,
|
||||
"semicolons": true,
|
||||
"quotes": "single",
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
},
|
||||
"linting": {
|
||||
"typescript": {
|
||||
"noUnusedVariables": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"noConsole": "warn"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"nodeVersion": ">=18.18.0",
|
||||
"packageManager": "pnpm",
|
||||
"requiredFiles": ["package.json", "tsconfig.json", ".env.example"]
|
||||
},
|
||||
"git": {
|
||||
"ignoredPaths": ["node_modules", "build", ".env", ".env.local"],
|
||||
"protectedBranches": ["main", "master"]
|
||||
},
|
||||
"testing": {
|
||||
"framework": "vitest",
|
||||
"coverage": {
|
||||
"statements": 70,
|
||||
"branches": 70,
|
||||
"functions": 70,
|
||||
"lines": 70
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"secrets": {
|
||||
"patterns": ["API_KEY", "SECRET", "PASSWORD", "TOKEN"],
|
||||
"locations": [".env", ".env.local"]
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"dev": "pnpm dev",
|
||||
"build": "pnpm build",
|
||||
"test": "pnpm test",
|
||||
"lint": "pnpm lint",
|
||||
"typecheck": "pnpm typecheck"
|
||||
},
|
||||
"codeQuality": {
|
||||
"imports": {
|
||||
"validateImports": true,
|
||||
"checkPackageAvailability": true,
|
||||
"requireExactVersions": true,
|
||||
"preventUnusedImports": true
|
||||
},
|
||||
"fileManagement": {
|
||||
"preventUnnecessaryFiles": true,
|
||||
"requireFileJustification": true,
|
||||
"checkExistingImplementations": true
|
||||
},
|
||||
"dependencies": {
|
||||
"autoInstallMissing": false,
|
||||
"validateVersionCompatibility": true,
|
||||
"checkPackageJson": true
|
||||
}
|
||||
},
|
||||
"uiStandards": {
|
||||
"styling": {
|
||||
"framework": "tailwind",
|
||||
"preferredIconSets": ["@iconify-json/ph", "@iconify-json/svg-spinners"],
|
||||
"colorScheme": {
|
||||
"useSystemPreference": true,
|
||||
"supportDarkMode": true
|
||||
},
|
||||
"components": {
|
||||
"preferModern": true,
|
||||
"accessibility": true,
|
||||
"responsive": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user