An open API service indexing awesome lists of open source software.

https://github.com/maxmilton/stylelint-config

Stylelint configuration with support for XCSS via ekscss.
https://github.com/maxmilton/stylelint-config

css css3 ekscss stylelint stylelint-config xcss

Last synced: over 1 year ago
JSON representation

Stylelint configuration with support for XCSS via ekscss.

Awesome Lists containing this project

README

          

[![Build status](https://img.shields.io/github/actions/workflow/status/maxmilton/stylelint-config/ci.yml?branch=master)](https://github.com/maxmilton/stylelint-config/actions)
[![Coverage status](https://img.shields.io/codeclimate/coverage/maxmilton/stylelint-config)](https://codeclimate.com/github/maxmilton/stylelint-config)
[![NPM version](https://img.shields.io/npm/v/@maxmilton/stylelint-config.svg)](https://www.npmjs.com/package/@maxmilton/stylelint-config)
[![Licence](https://img.shields.io/github/license/maxmilton/stylelint-config.svg)](https://github.com/maxmilton/stylelint-config/blob/master/LICENSE)

# @maxmilton/stylelint-config

Stylelint configuration with support for [XCSS via ekscss](https://github.com/maxmilton/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
1. Box model & layout
1. Typography
1. Remaining properties sorted alphabetically

## Installation

1. Add dependencies to your project:

```sh
npm install --save-dev @maxmilton/stylelint-config stylelint-config-standard
```

2. Add to your stylelint configuration:

`.stylelintrc`:

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

## Prior Art

This package is based on of the best ideas from:

-
-
-
-

## License

MIT license. See [LICENSE](https://github.com/maxmilton/stylelint-config/blob/master/LICENSE).

---

© 2024 [Max Milton](https://maxmilton.com)