repo setup
This commit is contained in:
+121
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
||||
"extends": ["ultracite", "ultracite/core", "ultracite/next"],
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true
|
||||
},
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
"organizeImports": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"formatter": {
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineWidth": 100
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"semicolons": "asNeeded",
|
||||
"trailingCommas": "all",
|
||||
"quoteStyle": "single",
|
||||
"jsxQuoteStyle": "double"
|
||||
}
|
||||
},
|
||||
"linter": {
|
||||
"rules": {
|
||||
"style": {
|
||||
"useDefaultSwitchClause": "off",
|
||||
"useConsistentTypeDefinitions": "off",
|
||||
"useAtIndex": "off",
|
||||
"useConsistentArrayType": "off",
|
||||
"noNestedTernary": "off",
|
||||
"useBlockStatements": "off",
|
||||
"noNonNullAssertion": "off",
|
||||
"useConst": "off",
|
||||
"noMagicNumbers": "off"
|
||||
},
|
||||
"performance": {
|
||||
"noNamespaceImport": "off",
|
||||
"noImgElement": "off",
|
||||
"noBarrelFile": "off",
|
||||
"noDelete": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noEmptyBlockStatements": "off",
|
||||
"noImplicitAnyLet": "off",
|
||||
"noGlobalIsNan": "off",
|
||||
"noExplicitAny": "off",
|
||||
"useAwait": "off",
|
||||
"noConsole": "off",
|
||||
"noArrayIndexKey": "off",
|
||||
"noEvolvingTypes": "off",
|
||||
"noDocumentCookie": "off"
|
||||
},
|
||||
"complexity": {
|
||||
"noExcessiveCognitiveComplexity": "off",
|
||||
"noForEach": "off",
|
||||
"noBannedTypes": "off",
|
||||
"noUselessFragments": "off",
|
||||
"useLiteralKeys": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedVariables": "off",
|
||||
"noUnusedFunctionParameters": "off",
|
||||
"noUnusedImports": "off",
|
||||
"useExhaustiveDependencies": "info",
|
||||
"noPrecisionLoss": "off"
|
||||
},
|
||||
"a11y": {
|
||||
"noSvgWithoutTitle": "off",
|
||||
"useSemanticElements": "off",
|
||||
"noLabelWithoutControl": "off",
|
||||
"useKeyWithClickEvents": "off",
|
||||
"noStaticElementInteractions": "off",
|
||||
"noNoninteractiveElementInteractions": "off",
|
||||
"useButtonType": "off"
|
||||
},
|
||||
"nursery": {
|
||||
"noShadow": "off"
|
||||
},
|
||||
"security": {
|
||||
"noDangerouslySetInnerHtml": "info"
|
||||
}
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": true,
|
||||
"includes": [
|
||||
"packages/**/*.ts",
|
||||
"packages/**/*.tsx",
|
||||
"packages/**/*.js",
|
||||
"packages/**/*.jsx",
|
||||
"packages/**/*.json",
|
||||
"packages/**/*.css",
|
||||
"packages/**/*.md",
|
||||
"packages/**/*.mdx",
|
||||
"!**/node_modules",
|
||||
"!**/.next",
|
||||
"!**/dist",
|
||||
"!**/build",
|
||||
"!**/public",
|
||||
"!**/components/ui"
|
||||
]
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["packages/editor/components/debug/react-scan.tsx"],
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
"organizeImports": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user