@studiometa/stylelint-config

4.0.0 • 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)

/@studiometa/stylelint-config/

    Package Sidebar

    Install

    npm i @studiometa/stylelint-config

    Weekly Downloads

    65

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    17.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • jeremiewerner