Skip to content

Commit

Permalink
Add npm command to format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Feb 3, 2024
1 parent 45d56dd commit 6c04359
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"start": "nuxt start",
"generate": "nuxt generate",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint": "npm run lint:js"
"lint": "npm run lint:js",
"format": "eslint --fix --ext \".js,.vue\" --ignore-path .gitignore ."
},
"dependencies": {
"core-js": "^3.8.3",
Expand Down

0 comments on commit 6c04359

Please sign in to comment.