Skip to content

Commit

Permalink
remove .prettierignore_staged
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Apr 25, 2024
1 parent 5c81d2d commit 99b371d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
_next/
__tmp__/
dist/
node_modules/
target/
compiled/

Expand Down
20 changes: 0 additions & 20 deletions .prettierignore_staged

This file was deleted.

4 changes: 2 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
.map((filename) => (isWin ? filename : escape([filename])))
.join(' ')
return [
`prettier --with-node-modules --ignore-path .prettierignore_staged --write ${escapedFileNames}`,
`prettier --with-node-modules --ignore-path .prettierignore --write ${escapedFileNames}`,
`eslint --no-ignore --max-warnings=0 --fix ${filenames
.filter((file) => !eslint.isPathIgnored(file))
.map((f) => `"${f}"`)
Expand All @@ -23,7 +23,7 @@ module.exports = {
.map((filename) => (isWin ? filename : escape([filename])))
.join(' ')
return [
`prettier --with-node-modules --ignore-path .prettierignore_staged --write ${escapedFileNames}`,
`prettier --with-node-modules --ignore-path .prettierignore --write ${escapedFileNames}`,
`git add ${escapedFileNames}`,
]
},
Expand Down

0 comments on commit 99b371d

Please sign in to comment.