ESlint Config for JavaScript
Stylelint configuration for styles.
Installation
This package is distributed via npm. It requires stylelint.
If using npm 5+, use this shortcut:
npx install-peerdeps -D @fenghan/stylelint-config
Or install each package by yourself:
npm install -D @fenghan/stylelint-config stylelint
# or
yarn add -D @fenghan/stylelint-config stylelint
Usage
Add the extends to your .stylelintrc.js
:
module.exports = {
extends: '@fenghan/stylelint-config',
rules: {
// your overrides
},
}
What's Inside?
This configuration contains the following cool packages.
Package | Description |
---|---|
stylelint-config-standard | The standard shareable config for stylelint. |
stylelint-scss | A collection of SCSS specific linting rules for stylelint. |
stylelint-order | A plugin pack of order-related linting rules for stylelint. |
stylelint-config-rational-order | Stylelint config that sorts related property declarations by grouping together in the rational order. |