stylelint-config-gda
v0.4.1
Published
stylelint config based on standard, recommended-scss and rational-order. Used in gda-scripts.
Downloads
15
Readme
eslint-config-gda
This package includes the shareable stylelint configuration used by gda-scripts.
Extends:
- stylelint-config-standard
- stylelint-config-recommended-scss
- stylelint-config-rational-order
- stylelint-prettier
Usage
First, install stylelint and Prettier
Then install stylelint-config-gda
and it peers dependencies
npm install stylelint-config-gda stylelint-config-standard stylelint-config-recommended-scss stylelint-config-rational-order stylelint-prettier --save-dev
Then create a file named .stylelintrc
with following contents in the root folder of your project:
{
"extends": ["gda"]
}
Then create a file name .prettierrc
with following contents in the root folder of your project:
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
}