Skip to content

Commit b69e3bc

Browse files
committed
feat: add lint-fix script to package.json
1 parent 75375b6 commit b69e3bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
"build": "npm run codegen && vite build",
141141
"build-no-code-gen": "vite build",
142142
"lint": "npm run codegen && eslint --ext .js --ext .jsx --ext .ts --ext .tsx src cypress",
143+
"lint-fix": "npm run codegen && eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx src cypress",
143144
"test": "npm run codegen && test",
144145
"codegen": "docker run --rm -v \"${PWD}:/local\" openapitools/openapi-generator-cli:v6.2.1 generate -g typescript-axios -i ${TDR_OPEN_API_YAML_LOCATION:=https://jade.datarepo-dev.broadinstitute.org/data-repository-openapi.yaml} -o /local/src/generated/tdr --skip-validate-spec",
145146
"clean": "rm -fr build src/generated/*"

0 commit comments

Comments
 (0)