@nharox/next-stylelint-config
v1.0.0
Published
Shared [Stylelint](https://stylelint.io/) config for [Next.js](https://nextjs.org/) projects.
Downloads
3
Maintainers
Readme
@nharox/next-stylelint-config
Shared Stylelint config for Next.js projects.
Installation
- Install package as a dev dependency
npm install --save-dev @nharox/next-stylelint-config
- Update
package.json
{
// ...
"stylelint": {
"extends": "@nharox/next-stylelint-config"
}
}
- Add the following script in your
package.json
{
// ...
"scripts": {
// ...
"stylelint": "stylelint --fix \"**/*.css\""
}
}