chore: add new lint script and apply consistent formatting across configs
Some checks failed
Lint / lint (push) Failing after 4m57s
Some checks failed
Lint / lint (push) Failing after 4m57s
Added `lint:write` script to streamline linting process and updated formatting in `drizzle.config.ts`
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import { defineConfig } from 'drizzle-kit';
|
import { defineConfig } from "drizzle-kit";
|
||||||
import * as process from "node:process";
|
import * as process from "node:process";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
schema: './src/database/schemas/index.ts',
|
schema: "./src/database/schemas/index.ts",
|
||||||
out: '.migrations',
|
out: ".migrations",
|
||||||
dialect: "postgresql",
|
dialect: "postgresql",
|
||||||
casing: "snake_case",
|
casing: "snake_case",
|
||||||
dbCredentials: {
|
dbCredentials: {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nest build",
|
"build": "nest build",
|
||||||
"lint": "biome check",
|
"lint": "biome check",
|
||||||
|
"lint:write": "biome check --write",
|
||||||
"format": "biome format --write",
|
"format": "biome format --write",
|
||||||
"start": "nest start",
|
"start": "nest start",
|
||||||
"start:dev": "nest start --watch",
|
"start:dev": "nest start --watch",
|
||||||
|
|||||||
Reference in New Issue
Block a user