Skip to content

Commit

Permalink
infra: improve lint, prettier ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonidShv committed Feb 11, 2024
1 parent cf80a21 commit 0e07b41
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
temp.js
**/*.json
server/tsconfig.json
.gitignore
.
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
temp.js
**/*.json
.gitignore
.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint:js": "eslint --ext \".ts,.vue\" --ignore-path .gitignore .",
"lint:js": "eslint --ext \".ts,.vue\"",
"lint:prettier": "prettier --check .",
"lint": "npm run lint:js && npm run lint:prettier",
"lintfix": "prettier --write --list-different . && npm run lint:js --fix"
Expand Down

0 comments on commit 0e07b41

Please sign in to comment.