README
stylelint-config-pixelmatters
A Stylelint config standard for Pixelmatters projects
This is a Stylelint config that you can use in your projects.
๐ Get Up and Running
You can install this package using either npm or yarn.
Yarn
If using Yarn:
- Install the package as a development dependency:
yarn add @pixelmatters/stylelint-config-pixelmatters --dev
- Add all the missing peer dependencies:
npx install-peerdeps @pixelmatters/stylelint-config-pixelmatters --dev --yarn
- Create a
.stylelintrc.jsin the root of your project and add the following code:
module.exports = {
extends: '@pixelmatters/stylelint-config-pixelmatters',
};
NPM
If using NPM:
- Install the package as a development dependency::
npm install @pixelmatters/stylelint-config-pixelmatters --save-dev
- Add all the missing peer dependencies:
npx install-peerdeps @pixelmatters/stylelint-config-pixelmatters --dev
- Create a
.stylelintrc.jsin the root of your project and add the following code:
module.exports = {
extends: '@pixelmatters/stylelint-config-pixelmatters',
};
At this point you should be good to go ๐
๐ค How to Contribute
Whether you're helping us fix bugs, improve the docs, or spread the word, thank you! ๐ช ๐งก
Check out our Contributing Guide for ideas on contributing and setup steps.
:memo: License
Licensed under the MIT License.