Skip to content

Stylelint configuration with support for XCSS via ekscss.

License

Notifications You must be signed in to change notification settings

maxmilton/stylelint-config

Repository files navigation

Build status Coverage status NPM version Licence

@maxmilton/stylelint-config

Stylelint configuration with support for XCSS via ekscss and an opinionated property order.

Property order defined as:

Note: Very new, seldom used, or poorly supported properties are not included in the groups.

  1. Position
  2. Box model & layout
  3. Typography
  4. Remaining properties sorted alphabetically

Installation

  1. Add dependencies to your project:
npm install --save-dev @maxmilton/stylelint-config stylelint-config-standard
  1. Add to your stylelint configuration:

.stylelintrc:

{
  "extends": ["stylelint-config-standard", "@maxmilton/stylelint-config"]
}

Prior Art

This package is based on of the best ideas from:

License

MIT license. See LICENSE.


© 2024 Max Milton