1.0.7 • Published 3 years ago

@fenghan/stylelint-config v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ESlint Config for JavaScript

npm version

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.

PackageDescription
stylelint-config-standardThe standard shareable config for stylelint.
stylelint-scssA collection of SCSS specific linting rules for stylelint.
stylelint-orderA plugin pack of order-related linting rules for stylelint.
stylelint-config-rational-orderStylelint config that sorts related property declarations by grouping together in the rational order.