npm

@fundamend/config-stylelint

0.1.1 • Public • Published

config-stylelint

config-stylelint is a configuration preset for stylelint used by the fundamend.dev ecosystem.

Installation

Use your favorite Node.js package manager, for example npm, like so:

npm install --save-dev @fundamend/config-stylelint

... or yarn, like so:

yarn add --dev @fundamend/config-stylelint

Usage

In your .stylelintrc.js, import config-stylelint and spread it into the exported object, like so:

const fundamend = require('@fundamend/config-stylelint');

module.exports = {
	...fundamend
};

You can extend the imported preset by adding additional configuration options to the exported configuration object, for example like this:

const fundamend = require('@fundamend/config-stylelint');

module.exports = {
	...fundamend,
	rules: {
		'color-hex-case': 'upper'
	}
};

Settings that already exist in the configuration preset will be overwritten.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @fundamend/config-stylelint

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

6.22 kB

Total Files

12

Last publish

Collaborators

  • decouplr