Remove biome lint for separate PR

This commit is contained in:
Jared Palmer 2024-11-15 11:09:44 -05:00
parent 1efc54816a
commit 2c26277ee6
2 changed files with 21 additions and 5 deletions

View file

@ -1,11 +1,12 @@
{ {
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": true },
"files": { "files": {
"ignoreUnknown": false, "ignoreUnknown": false,
"ignore": [ "ignore": [
"**/pnpm-lock.yaml", "**/pnpm-lock.yaml",
"lib/db/migrations", "lib/db/migrations",
"lib/editor/react-renderer.tsx",
"node_modules", "node_modules",
".next", ".next",
"public", "public",
@ -24,8 +25,23 @@
"bracketSpacing": true, "bracketSpacing": true,
"ignore": ["**/pnpm-lock.yaml", "lib/db/drizzle"] "ignore": ["**/pnpm-lock.yaml", "lib/db/drizzle"]
}, },
"organizeImports": { "enabled": false }, "organizeImports": { "enabled": true },
"linter": { "enabled": false }, "linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"useKeyWithClickEvents": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
}
}
},
"javascript": { "javascript": {
"formatter": { "formatter": {
"jsxQuoteStyle": "double", "jsxQuoteStyle": "double",

View file

@ -6,8 +6,8 @@
"dev": "next dev --turbo", "dev": "next dev --turbo",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint && biome lint", "lint": "next lint",
"lint:fix": "next lint --fix && biome lint --write", "lint:fix": "next lint --fix",
"format": "biome format --write", "format": "biome format --write",
"db:generate": "drizzle-kit generate", "db:generate": "drizzle-kit generate",
"db:migrate": "npx tsx lib/db/migrate.ts", "db:migrate": "npx tsx lib/db/migrate.ts",