@ramseyinhouse/stylelint-config
v3.0.0
Published
Ramsey Solutions standard stylelint configuration.
Downloads
25
Readme
@ramseyinhouse/stylelint-config
The official stylelint configuration for Ramsey Solutions.
Support for Prettier is pre-configured out of the box.
Expected Dependencies
stylelint
prettier
- Though not strictly required, this config relies onprettier
to enforce many stylistic rules.
Installation
Install stylelint
and prettier
as devDependencies
if you have not already:
yarn add stylelint prettier --dev
Install @ramseyinhouse/stylelint-config
:
yarn add @ramseyinhouse/stylelint-config --dev
Usage
Configure stylelint to extend @ramseyinhouse/stylelint-config
.
- Add a
stylelint.config.js
(or other supported file format) to the root of your project. - Extend
@ramseyinhouse/stylelint-config
via theextends
property:
module.exports = {
extends: ['@ramseyinhouse/stylelint-config'],
};