diff options
Diffstat (limited to 'client/simple/biome.json')
| -rw-r--r-- | client/simple/biome.json | 57 |
1 files changed, 26 insertions, 31 deletions
diff --git a/client/simple/biome.json b/client/simple/biome.json index e84fa5dfe..d90ba3231 100644 --- a/client/simple/biome.json +++ b/client/simple/biome.json @@ -1,7 +1,7 @@ { - "$schema": "https://biomejs.dev/schemas/2.1.3/schema.json", + "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", "files": { - "includes": ["**", "!dist/**", "!node_modules/**"], + "includes": ["**", "!dist", "!node_modules"], "ignoreUnknown": true }, "vcs": { @@ -31,49 +31,29 @@ "recommended": true, "complexity": { "noForEach": "error", + "noImplicitCoercions": "error", "useSimplifiedLogicExpression": "error" }, "correctness": { + "noGlobalDirnameFilename": "error", "noUndeclaredVariables": { "level": "error", "options": { "checkTypes": true } }, - "useImportExtensions": "error" + "useImportExtensions": "error", + "useJsonImportAttributes": "error", + "useSingleJsDocAsterisk": "error" }, "nursery": { - "noAwaitInLoop": "warn", - "noBitwiseOperators": "warn", - "noConstantBinaryExpression": "warn", - "noGlobalDirnameFilename": "warn", - "noImplicitCoercion": "warn", "noMisusedPromises": "warn", - "noUnassignedVariables": "warn", - "noUselessBackrefInRegex": "warn", - "noUselessEscapeInString": "warn", "noUselessUndefined": "warn", - "useAdjacentGetterSetter": "warn", - "useConsistentObjectDefinition": { - "level": "warn", - "options": { - "syntax": "explicit" - } - }, - "useConsistentResponse": "warn", "useExhaustiveSwitchCases": "warn", - "useExplicitType": "warn", - "useIndexOf": "warn", - "useIterableCallbackReturn": "warn", - "useJsonImportAttribute": "warn", - "useNumericSeparators": "warn", - "useObjectSpread": "warn", - "useParseIntRadix": "warn", - "useReadonlyClassProperties": "warn", - "useSingleJsDocAsterisk": "warn", - "useUnifiedTypeSignature": "warn" + "useExplicitType": "warn" }, "performance": { + "noAwaitInLoops": "error", "noBarrelFile": "error", "noDelete": "error", "noNamespaceImport": "error", @@ -121,22 +101,37 @@ "accessibility": "explicit" } }, + "useConsistentObjectDefinitions": { + "level": "error", + "options": { + "syntax": "explicit" + } + }, "useDefaultSwitchClause": "error", "useExplicitLengthCheck": "error", "useForOf": "error", + "useGroupedAccessorPairs": "error", "useNumberNamespace": "error", + "useNumericSeparators": "error", + "useObjectSpread": "error", + "useReadonlyClassProperties": "error", "useShorthandAssign": "error", "useSingleVarDeclarator": "error", "useThrowNewError": "error", "useThrowOnlyError": "error", - "useTrimStartEnd": "error" + "useTrimStartEnd": "error", + "useUnifiedTypeSignatures": "error" }, "suspicious": { "noAlert": "error", + "noBitwiseOperators": "error", + "noConstantBinaryExpressions": "error", "noEmptyBlockStatements": "error", "noEvolvingTypes": "error", + "noUnassignedVariables": "error", "noVar": "error", - "useNumberToFixedDigitsArgument": "error" + "useNumberToFixedDigitsArgument": "error", + "useStaticResponseMethods": "error" } } }, |