This is a Stylelint config that you can use in your projects.
You can install this package using either npm or 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.js
in the root of your project and add the following code:
module.exports = {
extends: '@pixelmatters/stylelint-config-pixelmatters',
};
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.js
in 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 👍
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.
Licensed under the MIT License.