mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 21:16:17 +01:00
106 lines
2.5 KiB
JSON
106 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
|
|
"vcs": {
|
|
"enabled": false,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": false
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"includes": [
|
|
"**",
|
|
"!.next",
|
|
"!.log",
|
|
"next-env.d.ts",
|
|
"!node_modules",
|
|
"!dist",
|
|
"!build",
|
|
"!coverage",
|
|
"!*.min.js",
|
|
"!.env*",
|
|
"!*.log",
|
|
"!tmp",
|
|
"!temp",
|
|
"!*.config.js"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"complexity": {
|
|
"noExtraBooleanCast": "error",
|
|
"noUselessCatch": "error",
|
|
"noUselessConstructor": "error",
|
|
"noUselessLabel": "error",
|
|
"noUselessRename": "error"
|
|
},
|
|
"correctness": {
|
|
"noConstAssign": "error",
|
|
"noConstantCondition": "error",
|
|
"noEmptyPattern": "error",
|
|
"noGlobalObjectCalls": "error",
|
|
"noInnerDeclarations": "error",
|
|
"noInvalidConstructorSuper": "error",
|
|
"noUnreachable": "error",
|
|
"noUnreachableSuper": "error",
|
|
"noUnsafeFinally": "error",
|
|
"noUnusedLabels": "error",
|
|
"noUnusedVariables": "warn",
|
|
"useIsNan": "error"
|
|
},
|
|
"style": {
|
|
"useConst": "warn",
|
|
"useTemplate": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noAsyncPromiseExecutor": "error",
|
|
"noCatchAssign": "error",
|
|
"noClassAssign": "error",
|
|
"noCommentText": "error",
|
|
"noCompareNegZero": "error",
|
|
"noDebugger": "warn",
|
|
"noDoubleEquals": "warn",
|
|
"noDuplicateCase": "error",
|
|
"noDuplicateClassMembers": "error",
|
|
"noDuplicateObjectKeys": "error",
|
|
"noEmptyBlockStatements": "warn",
|
|
"noExplicitAny": "warn",
|
|
"noFallthroughSwitchClause": "error",
|
|
"noGlobalAssign": "error",
|
|
"noRedeclare": "error",
|
|
"noShadowRestrictedNames": "error",
|
|
"noUnsafeNegation": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "single",
|
|
"semicolons": "always",
|
|
"trailingCommas": "es5",
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"cssModules": true,
|
|
"tailwindDirectives": true
|
|
}
|
|
}
|
|
}
|