Skip to content

Commit

Permalink
style: fix lintstaged eslint setting
Browse files Browse the repository at this point in the history
before, it was linting all projects for every file
  • Loading branch information
Markus-Ende committed Apr 15, 2024
1 parent 9ce5195 commit ce595ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ Thumbs.db

.nx/cache
.angular
.eslintcache
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.ts": ["npx nx lint --fix --files"],
"*.ts": ["eslint --cache --fix"],
"*": ["npx nx format:write --files"],
"*.css": ["npx stylelint --fix"]
}

0 comments on commit ce595ce

Please sign in to comment.