@foray1010/stylelint-config
v15.0.0
Published
It aims at providing a general stylelint config for:
Downloads
153
Readme
@foray1010/stylelint-config
It aims at providing a general stylelint config for:
assisting developer to obtain better code quality
no opinion on coding styles, leave it to @foray1010/prettier-config
Versioning
X.Y.Z
X for requiring newer stylelint or node (breaking changes)
Y for stricter rules
Z for looser rules
Installation
yarn add -DE @foray1010/stylelint-config prettier stylelint
Create an
.stylelintrc.mjs
in the project rootconst config = { extends: ['@foray1010/stylelint-config'], } export default config
Use default stylelintignore via npm script
{ "scripts": { "stylelint": "stylelint --ignore-path=node_modules/@foray1010/stylelint-config/stylelintignore" } }
then use
npm run stylelint
oryarn stylelint
to replacestylelint