@bigpopakap/stylelint-config
v1.0.35
Published
Stylelint configuration for bigpopakap's personal projects
Downloads
71
Maintainers
Readme
@bigpopakap/stylelint-config
Shared Stylelint configurations for bigpopakap's personal projects.
Adding to a new repo
Installation
yarn add -D @bigpopakap/stylelint-config
Running
Examples of how to run the linter:
yarn stylelint-bigpopakap
yarn stylelint-bigpopakap --fix
Configuration
Add the following .stylelintrc.js
to your project:
module.exports = {
"extends": [
// Update `/***` to `/react-styled-components` or another flavor, depending on what kind of project you have.
"@bigpopakap/stylelint-config/***"
]
};
Useful scripts
You may want to add the following scripts to your package.json
:
{
"scripts": {
"lint": "npm-run-all -c lint:*",
"lintfix": "npm-run-all -c lint:*:fix",
"lint:css": "yarn stylelint-bigpopakap",
"lint:css:fix": "yarn lint:css --fix"
}
}