Skip to content

Commit

Permalink
Merge pull request #349 from 10up/feature/lint-staged
Browse files Browse the repository at this point in the history
Feature/lint staged
  • Loading branch information
nicholasio authored Jan 5, 2024
2 parents 08f7c78 + 3561f9b commit 168b0ec
Show file tree
Hide file tree
Showing 84 changed files with 705 additions and 4,812 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
8 changes: 8 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"*.[tj]s": [
"eslint"
],
"*.[tj]sx": [
"eslint"
]
}
Loading

0 comments on commit 168b0ec

Please sign in to comment.