ESLint and Biome both ran over the same sources with overlapping rules. Biome already covers formatting and the recommended React rules, so keeping ESLint only duplicated the configuration. - Remove eslint.config.js and every ESLint package - Add lint and lint:check scripts backed by biome lint - Enable useComponentExportOnlyModules to keep the React Fast Refresh check that eslint-plugin-react-refresh provided - Drop the stale eslint-disable comment in DataViewer, the eslint.enable editor setting, and the .eslintcache ignore entry - Add cspell as a devDependency with a spell:check script - Bump the runtime and build dependencies, and upgrade TypeScript to 7 - Stop tracking package-lock.json - Bump the version to 3.0.2
44 lines
793 B
JSON
44 lines
793 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.5.12/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"includes": ["**", "!**/dist", "!**/node_modules"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 120
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"domains": {
|
|
"react": "recommended"
|
|
},
|
|
"rules": {
|
|
"preset": "recommended",
|
|
"style": {
|
|
"useComponentExportOnlyModules": "on"
|
|
}
|
|
}
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"trailingCommas": "all"
|
|
}
|
|
}
|
|
}
|