We aheads configuration for lint-staged.
This config and its dependencies are included in We ahead's tooling packages and don't need to be installed in new We ahead projects. Instead use one of the tooling packages that have all configs and dependencies needed for its use.
- For non-React projects use @weahead/tooling
- For React projects use @weahead/tooling-react
npx install-peerdeps -d -x '-E' @weahead/lint-staged-config
A lint-staged.config.js
file will automatically be created in the root of your project with:
module.exports = require('@weahead/lint-staged-config');