mirror of
https://github.com/CyberL1/dlinux-dashboard.git
synced 2025-01-22 01:19:18 -05:00
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
|
{
|
||
|
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
|
||
|
"organizeImports": {
|
||
|
"enabled": true
|
||
|
},
|
||
|
"linter": {
|
||
|
"enabled": true,
|
||
|
"rules": {
|
||
|
"recommended": false,
|
||
|
"complexity": {
|
||
|
"noExtraBooleanCast": "error",
|
||
|
"noMultipleSpacesInRegularExpressionLiterals": "error",
|
||
|
"noUselessCatch": "error",
|
||
|
"noWith": "error"
|
||
|
},
|
||
|
"correctness": {
|
||
|
"noConstAssign": "error",
|
||
|
"noConstantCondition": "error",
|
||
|
"noEmptyCharacterClassInRegex": "error",
|
||
|
"noEmptyPattern": "error",
|
||
|
"noGlobalObjectCalls": "error",
|
||
|
"noInnerDeclarations": "error",
|
||
|
"noInvalidConstructorSuper": "error",
|
||
|
"noNewSymbol": "error",
|
||
|
"noNonoctalDecimalEscape": "error",
|
||
|
"noPrecisionLoss": "error",
|
||
|
"noSelfAssign": "error",
|
||
|
"noSetterReturn": "error",
|
||
|
"noSwitchDeclarations": "error",
|
||
|
"noUndeclaredVariables": "error",
|
||
|
"noUnreachable": "error",
|
||
|
"noUnreachableSuper": "error",
|
||
|
"noUnsafeFinally": "error",
|
||
|
"noUnsafeOptionalChaining": "error",
|
||
|
"noUnusedLabels": "error",
|
||
|
"noUnusedVariables": "error",
|
||
|
"useIsNan": "error",
|
||
|
"useValidForDirection": "error",
|
||
|
"useYield": "error"
|
||
|
},
|
||
|
"style": {
|
||
|
"noVar": "error",
|
||
|
"useBlockStatements": "error",
|
||
|
"useCollapsedElseIf": "error",
|
||
|
"useConst": "error"
|
||
|
},
|
||
|
"suspicious": {
|
||
|
"noAsyncPromiseExecutor": "error",
|
||
|
"noCatchAssign": "error",
|
||
|
"noClassAssign": "error",
|
||
|
"noCompareNegZero": "error",
|
||
|
"noControlCharactersInRegex": "error",
|
||
|
"noDebugger": "error",
|
||
|
"noDuplicateCase": "error",
|
||
|
"noDuplicateClassMembers": "error",
|
||
|
"noDuplicateObjectKeys": "error",
|
||
|
"noDuplicateParameters": "error",
|
||
|
"noEmptyBlockStatements": "error",
|
||
|
"noFallthroughSwitchClause": "error",
|
||
|
"noFunctionAssign": "error",
|
||
|
"noGlobalAssign": "error",
|
||
|
"noImportAssign": "error",
|
||
|
"noMisleadingCharacterClass": "error",
|
||
|
"noPrototypeBuiltins": "error",
|
||
|
"noRedeclare": "error",
|
||
|
"noShadowRestrictedNames": "error",
|
||
|
"noUnsafeNegation": "error",
|
||
|
"useGetterReturn": "error",
|
||
|
"useValidTypeof": "error"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"formatter": {
|
||
|
"indentStyle": "space",
|
||
|
"indentWidth": 2
|
||
|
}
|
||
|
}
|