1.0.0 • Published 1 month ago

@nharox/next-stylelint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@nharox/next-stylelint-config

Shared Stylelint config for Next.js projects.

Installation

  1. Install package as a dev dependency
npm install --save-dev @nharox/next-stylelint-config
  1. Update package.json
{
  // ...
  "stylelint": {
    "extends": "@nharox/next-stylelint-config"
  }
}
  1. Add the following script in your package.json
{
  // ...
  "scripts": {
    // ...
    "stylelint": "stylelint --fix \"**/*.css\""
  }
}

Stylelint Configs