Skip to content

Commit

Permalink
chore: remove rules already enabled by biome recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev committed Apr 7, 2024
1 parent d569c47 commit 694df92
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 136 deletions.
82 changes: 4 additions & 78 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,103 +24,29 @@
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "error",
"noExtraBooleanCast": "error",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noStaticOnlyClass": "off",
"noThisInStatic": "off",
"noUselessCatch": "error",
"noUselessLoneBlockStatements": "error",
"noUselessThisAlias": "error",
"noUselessTypeConstraint": "error",
"noWith": "error",
"useArrowFunction": "error",
"useLiteralKeys": "error",
"useOptionalChain": "error"
"noThisInStatic": "off"
},
"correctness": {
"noConstAssign": "error",
"noConstantCondition": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "error",
"noGlobalObjectCalls": "error",
"noInvalidConstructorSuper": "error",
"noInvalidNewBuiltin": "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",
"noUnusedPrivateClassMembers": "error",
"noUnusedVariables": "error",
"useIsNan": "error",
"useValidForDirection": "error",
"useYield": "error"
"noUnusedVariables": "error"
},
"style": {
"noArguments": "error",
"noCommaOperator": "error",
"noInferrableTypes": "error",
"noNamespace": "error",
"noNegationElse": "error",
"noRestrictedGlobals": {
"level": "error",
"options": { "deniedGlobals": ["Buffer", "process", "__dirname", "__filename"] }
},
"noUselessElse": "error",
"noVar": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "error",
"useConsistentArrayType": "error",
"useConst": "error",
"useEnumInitializers": "off",
"useForOf": "error",
"useNumericLiterals": "error",
"useShorthandAssign": "error",
"useShorthandFunctionType": "error",
"useSingleVarDeclarator": "error",
"useTemplate": "error"
"useShorthandAssign": "error"
},
"suspicious": {
"noAssignInExpressions": "error",
"noAsyncPromiseExecutor": "error",
"noCatchAssign": "error",
"noClassAssign": "error",
"noCompareNegZero": "error",
"noConfusingLabels": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDoubleEquals": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "error",
"noEmptyInterface": "error",
"noExplicitAny": "error",
"noExtraNonNullAssertion": "error",
"noFallthroughSwitchClause": "error",
"noFunctionAssign": "error",
"noGlobalAssign": "error",
"noImportAssign": "error",
"noMisleadingCharacterClass": "error",
"noMisleadingInstantiator": "error",
"noPrototypeBuiltins": "error",
"noShadowRestrictedNames": "error",
"noUnsafeDeclarationMerging": "error",
"noUnsafeNegation": "error",
"useAwait": "error",
"useDefaultSwitchClauseLast": "error",
"useGetterReturn": "error",
"useNamespaceKeyword": "error",
"useValidTypeof": "error"
"useAwait": "error"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"author": "Aytch Software",
"license": "GPL-2.0-or-later",
"dependencies": {
"@prisma/client": "^5.11.0",
"@prisma/client": "^5.12.1",
"bufferutil": "^4.0.8",
"dedent": "^1.5.1",
"discord.js": "^14.14.1",
Expand All @@ -43,10 +43,10 @@
},
"devDependencies": {
"@biomejs/biome": "^1.6.4",
"@dotenvx/dotenvx": "^0.27.2",
"@dotenvx/dotenvx": "^0.30.0",
"conventional-changelog-cli": "^4.1.0",
"cross-env": "^7.0.3",
"prisma": "^5.11.0",
"prisma": "^5.12.1",
"tsx": "^4.7.2",
"typescript": "^5.4.4"
},
Expand Down
Loading

0 comments on commit 694df92

Please sign in to comment.