Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.12 KB

@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 on prettier 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.

  1. Add a stylelint.config.js (or other supported file format) to the root of your project.
  2. Extend @ramseyinhouse/stylelint-config via the extends property:
module.exports = {
  extends: ['@ramseyinhouse/stylelint-config'],
};