@studiometa/stylelint-config

3.0.2 • Public • Published

StyleLint Configuration

NPM Version Dependency Status devDependency Status

Studio Meta's one and only Stylelint configuration to be used across projects.

Usage

Install the package with your favorite package manager:

yarn add --dev @studiometa/stylelint-config
# or
npm install --save-dev @studiometa/stylelint-config

Create a .stylelintrc.js in your project's root folder with the following:

module.exports = {
  extends: '@studiometa/stylelint-config',
};

It is recommended to use Prettier in your project for a more opinionated linting and formatting of your files. To do so, you can use the prettier configuration sent in this package. Add a .prettierrc file at the root of your project and set the StyleLint configuration as follow:

module.exports = {
  extends: '@studiometa/stylelint-config/prettier',
};

TODO

  • Add tests (cf. tests from recommended configuration)

Readme

Keywords

none

Package Sidebar

Install

npm i @studiometa/stylelint-config

Weekly Downloads

125

Version

3.0.2

License

MIT

Unpacked Size

16.5 kB

Total Files

12

Last publish

Collaborators

  • jeremiewerner