mirror of
https://github.com/dokploy/dokploy.git
synced 2026-06-14 03:19:49 +00:00
5a0ec2c9dc
- Added `dompurify` for sanitizing SVG icons to prevent XSS vulnerabilities. - Introduced `simple-icons` for a collection of SVG icons, enhancing the icon selection feature. - Updated the `ShowIconSettings` component to utilize the new icon management logic. - Removed the obsolete `icons.json` file and replaced it with a new `bundled-icons.ts` file for better structure and maintainability. - Adjusted related API and component files to accommodate the new icon handling approach.
69 lines
1.6 KiB
JSON
69 lines
1.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": [
|
|
"**",
|
|
"!**/.docker",
|
|
"!**/.next/**",
|
|
"!**/dist",
|
|
"!**/drizzle/**",
|
|
"!node_modules/**",
|
|
"!packages/server/package.json"
|
|
],
|
|
"maxSize": 2097152
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"linter": {
|
|
"rules": {
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"complexity": {
|
|
"noUselessCatch": "off",
|
|
"noBannedTypes": "off",
|
|
"noUselessFragments": "off"
|
|
},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off",
|
|
"noUnsafeOptionalChaining": "off",
|
|
"noUnusedImports": "error",
|
|
"noUnusedFunctionParameters": "error",
|
|
"noUnusedVariables": "off",
|
|
"useHookAtTopLevel": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noParameterAssign": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useDefaultParameterLast": "error",
|
|
"useEnumInitializers": "error",
|
|
"useSelfClosingElements": "error",
|
|
"useSingleVarDeclarator": "error",
|
|
"noUnusedTemplateLiteral": "error",
|
|
"useNumberNamespace": "error",
|
|
"noInferrableTypes": "error",
|
|
"noUselessElse": "error"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off",
|
|
"noExplicitAny": "off",
|
|
"noRedeclare": "off",
|
|
"noTemplateCurlyInString": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"useAriaPropsForRole": "off",
|
|
"useAriaPropsSupportedByRole": "off",
|
|
"noStaticElementInteractions": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|