4.0.0 • Published 3 months ago

stylelint-config-firefoxic v4.0.0

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

stylelint-config-firefoxic

Test Status License: MIT NPM version Vulnerabilities count

The shareable config for Stylelint from firefoxic.

Use it as is or as a foundation for your own config.

To see the rules that this config uses, please read the config itself.

Installation

npm add -D stylelint-config-firefoxic

Usage

Set your stylelint config to:

{
	"extends": "stylelint-config-firefoxic"
}

Extending the config

Add a "rules" key to your config, then add your overrides and additions there.

You can turn off rules by setting its value to null. For example:

{
	"extends": "stylelint-config-firefoxic",
	"rules": {
		"selector-not-notation": null
	}
}

Or lower the severity of a rule to a warning using the severity secondary option. For example:

{
	"extends": "stylelint-config-firefoxic",
	"rules": {
		"property-no-vendor-prefix": [
			true,
			{
				"severity": "warning"
			}
		]
	}
}

If your styles syntax is different from CSS, then install the package of the syntax you need, specify it at the beginning of your configuration file and add or override some rules:

{
	"customSyntax": "postcss-scss",
	"extends": "stylelint-config-firefoxic",
	"rules": {
		"at-rule-no-unknown": [
			true,
			{
				"ignoreAtRules": [
					"mixin",
					"include"
				]
			}
		]
	}
}

Useful links

4.0.0

3 months ago

3.0.2-0

5 months ago

3.0.1

5 months ago

3.0.0

5 months ago

2.0.3

7 months ago

2.0.2

7 months ago

1.2.3

12 months ago

2.0.1

8 months ago

2.0.0

10 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.2.1

1 year ago

1.0.0

1 year ago