@studiometa/stylelint-config
v4.1.1
Published
StyleLint Configuration
Downloads
1,245
Readme
StyleLint Configuration
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-configCreate 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)
