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
37 lines
903 B
JSON
37 lines
903 B
JSON
{
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.biome": "explicit"
|
|
},
|
|
"[css]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[jsonc]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
// Extensions - Biome
|
|
// - see: biome.json
|
|
// Exteions - cSpell
|
|
// - see: .cspell.json
|
|
// Extensions - HTML
|
|
"html.format.wrapLineLength": 0,
|
|
// Extentions - Typescript
|
|
"javascript.updateImportsOnFileMove.enabled": "always",
|
|
"typescript.updateImportsOnFileMove.enabled": "always"
|
|
}
|