Skip to content

Commit

Permalink
Merge pull request #35 from Cleysonlb/improve-lint-staged
Browse files Browse the repository at this point in the history
improve lint-staged with jest and prettier
  • Loading branch information
omurilo authored May 9, 2020
2 parents 5927fa5 + 560482e commit 223b256
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

{
"src/**/*.{ts,js}": ["eslint --fix"]
"src/**/*.{ts,js}": [
"eslint --fix",
"jest",
"prettier --check --write 'src/**/*.{ts,js}'",
"git add"
]
}

0 comments on commit 223b256

Please sign in to comment.