Skip to content

Commit

Permalink
Ignore /examples when lint-staged runs eslint. (#3703)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Mar 2, 2023
1 parent be18292 commit e991a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,6 @@
},
"lint-staged": {
"**/*.{cjs,html,js,json,md,ts}": "prettier --write",
"**/*.{js,ts}": "eslint --ignore-pattern=examples/ --fix"
"{*.{js,ts},!(examples)/**/*.{js,ts}}": "eslint --fix"
}
}

0 comments on commit e991a76

Please sign in to comment.