1.0.0-beta-14 • Published 10 months ago

@efficientcss/stylelint-config-ecss v1.0.0-beta-14

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Stylelint Config for ECSS

Linting rules for writing Efficient CSS.

ECSS sets simple rules for simple styling. No more naming everything, no more technological dependencies. Only intentional, consistent, simple, expressive, predictable, sustainable CSS.

This config adds a more detailed messaging system.

For the complete documentation, see ecss.info.

Installation

npm install @efficientcss/stylelint-config-ecss

Usage

Add this package to the extend{.json} array in your Stylelint configuration or copy the following code in a new .stylelintrc.json file.

{
	"extends": ["@efficientcss/stylelint-config-ecss"]
}

You can disable ECSS rules by using the Stylelint overrides array.

{
	"extends": ["@efficientcss/stylelint-config-ecss"],
	"overrides": [
		{
			"files": ["*"],
			"rules": {
				"declaration-empty-line-before": null,
				"order/properties-order": null
			}
		}
	]
}

Notes

You can opt out of selector naming check by adding a digit (ie: 1.base.css) or "x-" prefix (ie: x-quarantine.css).

For further usage instructions, please refer to the Stylelint official documentation.

1.0.0-beta-12

1 year ago

1.0.0-beta-13

1 year ago

1.0.0-beta-14

11 months ago

1.0.0-beta-15

10 months ago

1.0.0-beta-11

2 years ago

1.0.0-beta-10

2 years ago

1.0.0-beta-9

2 years ago

1.0.0-beta-8

2 years ago

1.0.0-beta-7

2 years ago

1.0.0-beta-6

2 years ago

1.0.0-beta-5

2 years ago

1.0.0-beta-3

2 years ago

1.0.0-beta-4

2 years ago

1.0.0-beta-2

2 years ago

1.0.0-beta-1

2 years ago

1.0.0-beta

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0-alpha

2 years ago