mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
Supersedes #6178. This branch keeps the exact same final content as #6178, but splits history for reviewability: 1. `chore(companion): rename source and test files from .js to .ts` (pure `git mv`, no content changes) 2. `feat(companion): port Companion to TypeScript` (actual content/type/schema/build updates) Validation note: - Final tree is byte-for-byte identical to `ts-companion` (`7b5b16a298690b0492de4cc4fab744f998b45570`). --------- Co-authored-by: Mikael Finstad <finstaden@gmail.com>
96 lines
1.9 KiB
JSON
96 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": [
|
|
"packages/**",
|
|
"examples/**",
|
|
"scripts/**",
|
|
"bin/**",
|
|
"e2e/**",
|
|
"private/**",
|
|
"!packages/**/{dist,lib}/**",
|
|
"!node_modules",
|
|
"!.svelte-kit",
|
|
"!packages/@uppy/components/src/input.css"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"formatWithErrors": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"includes": [
|
|
"packages/**",
|
|
"examples/**",
|
|
"scripts/**",
|
|
"private/**",
|
|
"!packages/**/{dist,lib}/**",
|
|
"!node_modules",
|
|
"!.svelte-kit",
|
|
"!packages/@uppy/components/src/input.css",
|
|
"!**/*.vue",
|
|
"!**/*.svelte"
|
|
],
|
|
"rules": {
|
|
"recommended": true,
|
|
"suspicious": {
|
|
"noExplicitAny": "off"
|
|
},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "error",
|
|
"useHookAtTopLevel": "error",
|
|
"noUnusedFunctionParameters": "off",
|
|
"noUnusedVariables": {
|
|
"level": "error",
|
|
"options": {
|
|
"ignoreRestSiblings": true
|
|
}
|
|
}
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off"
|
|
},
|
|
"nursery": {
|
|
"noNestedComponentDefinitions": "error",
|
|
"noReactPropAssign": "error"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["packages/@uppy/companion/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"complexity": {
|
|
"useLiteralKeys": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"semicolons": "asNeeded"
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|