1.2.2 • Published 4 years ago
stylelint-config-bigpopakap v1.2.2
stylelint-config-bigpopakap
Shared Stylelint configurations for bigpopakap's personal projects.
Adding to a new repo
Installation
yarn add -D stylelint-config-bigpopakap
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 `/react-styled-components` or another flavor, depending on what kind of project you have.
"stylelint-config-bigpopakap/base"
]
};
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"
}
}