Skip to content

Commit

Permalink
build: add ESLint fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoosepAlviste committed Dec 29, 2023
1 parent 8aa3ca4 commit a2c3b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"start:jobs:prod": "NODE_ENV=production node dist/mainJobs.js",
"tsc": "tsc --noEmit",
"lint": "eslint src && madge --circular --extensions ts ./src",
"lint:fix": "eslint --fix src",
"test": "dotenv -e ../../.env.test vitest",
"test:coverage": "dotenv -e ../../.env.test vitest run -- --coverage",
"codegen": "DOTENV_CONFIG_PATH='../../.env' graphql-codegen-esm -r dotenv/config",
Expand Down
1 change: 1 addition & 0 deletions apps/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build:server": "tsc -p tsconfig.server.json",
"start:prod": "cross-env NODE_ENV=production node dist/prodServer/server/server.js",
"lint": "eslint src && madge --circular --extensions ts,tsx ./src",
"lint:fix": "eslint --fix src",
"tsc": "tsc --noEmit",
"test": "vitest",
"test:coverage": "vitest run --coverage",
Expand Down

0 comments on commit a2c3b5a

Please sign in to comment.