stylelint-config-snapper
v1.1.4
Published
Stylelint configuration for Snapper
Downloads
408
Readme
Stylelint Configuration Snapper
This repository Contains the stylelint configuration for Snapper
Link to Public npm package
Instructions
Install the official Stylelint extension
(Recommended) Install the Alphabetical Sorter extension
Pull the package into your project by running:
npm i -D stylelint-config-snapper
- Edit (or create in the root directory) the .stylelintrc.config.js file and add 'stylelint-config-snapper' into the extends array. The file should look like this:
'use strict';
module.exports = {
extends: ['stylelint-config-snapper']
};
Publishing packages
- Go to packages/{package_to_publish} directory
- Run the following command: (if you haven't added your user yet)
npm adduser
Bump the version number as appropriate following Semantic Versioning
Once logged in, you can run the following to publish the package:
npm run deploy
- You will recieve an email when your package has been successfully published