mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
* [upd] web-client (simple): Bump the minor group Bumps the minor group in /client/simple with 2 updates: [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) and [stylelint](https://github.com/stylelint/stylelint). Updates `@biomejs/biome` from 2.2.2 to 2.2.4 - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.4/packages/@biomejs/biome) Updates `stylelint` from 16.23.1 to 16.24.0 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.23.1...16.24.0) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.2.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: stylelint dependency-version: 16.24.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> * update biome schema * update rolldown --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
149 lines
4.0 KiB
JSON
149 lines
4.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
|
"files": {
|
|
"includes": ["**", "!dist", "!node_modules"],
|
|
"ignoreUnknown": true
|
|
},
|
|
"vcs": {
|
|
"clientKind": "git",
|
|
"enabled": false,
|
|
"useIgnoreFile": true
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"recommended": true
|
|
}
|
|
},
|
|
"formatter": {
|
|
"bracketSameLine": false,
|
|
"bracketSpacing": true,
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf",
|
|
"lineWidth": 120
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"complexity": {
|
|
"noForEach": "error",
|
|
"noImplicitCoercions": "error",
|
|
"useSimplifiedLogicExpression": "error"
|
|
},
|
|
"correctness": {
|
|
"noGlobalDirnameFilename": "error",
|
|
"noUndeclaredVariables": {
|
|
"level": "error",
|
|
"options": {
|
|
"checkTypes": true
|
|
}
|
|
},
|
|
"useImportExtensions": "error",
|
|
"useJsonImportAttributes": "error",
|
|
"useSingleJsDocAsterisk": "error"
|
|
},
|
|
"nursery": {
|
|
"noMisusedPromises": "warn",
|
|
"noUselessUndefined": "warn",
|
|
"useExhaustiveSwitchCases": "warn",
|
|
"useExplicitType": "warn"
|
|
},
|
|
"performance": {
|
|
"noAwaitInLoops": "error",
|
|
"noBarrelFile": "error",
|
|
"noDelete": "error",
|
|
"noNamespaceImport": "error",
|
|
"noReExportAll": "error",
|
|
"useTopLevelRegex": "error"
|
|
},
|
|
"style": {
|
|
"noCommonJs": "error",
|
|
"noEnum": "error",
|
|
"noInferrableTypes": "error",
|
|
"noNamespace": "error",
|
|
"noNegationElse": "error",
|
|
"noNestedTernary": "error",
|
|
"noParameterAssign": "error",
|
|
"noParameterProperties": "error",
|
|
"noRestrictedTypes": {
|
|
"level": "error",
|
|
"options": {
|
|
"types": {
|
|
"Element": {
|
|
"message": "Element is too generic",
|
|
"use": "HTMLElement"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"noSubstr": "error",
|
|
"noUnusedTemplateLiteral": "error",
|
|
"noUselessElse": "error",
|
|
"noYodaExpression": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useAtIndex": "error",
|
|
"useCollapsedElseIf": "error",
|
|
"useCollapsedIf": "error",
|
|
"useConsistentArrayType": {
|
|
"level": "error",
|
|
"options": {
|
|
"syntax": "shorthand"
|
|
}
|
|
},
|
|
"useConsistentBuiltinInstantiation": "error",
|
|
"useConsistentMemberAccessibility": {
|
|
"level": "error",
|
|
"options": {
|
|
"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",
|
|
"useUnifiedTypeSignatures": "error"
|
|
},
|
|
"suspicious": {
|
|
"noAlert": "error",
|
|
"noBitwiseOperators": "error",
|
|
"noConstantBinaryExpressions": "error",
|
|
"noEmptyBlockStatements": "error",
|
|
"noEvolvingTypes": "error",
|
|
"noUnassignedVariables": "error",
|
|
"noVar": "error",
|
|
"useNumberToFixedDigitsArgument": "error",
|
|
"useStaticResponseMethods": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"arrowParentheses": "always",
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"quoteStyle": "double",
|
|
"semicolons": "always",
|
|
"trailingCommas": "none"
|
|
}
|
|
}
|
|
}
|