Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 763 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 763 Bytes

Ultimaker stylelint config

This package contains mostly sane linting rules for both CSS and SCSS files for Ultimaker web-based projects.

These linting rules are set up to allow the writing of consistent, readable, and simple CSS or SCSS.

Usage

To use these linting rules, create a file called .stylelintrc.js in the root of your project.

To lint CSS files, add the following:

module.exports = {
    extends: "@ultimaker/stylelint-config"
};

To lint SCSS files, add the following:

module.exports = {
    extends: "@ultimaker/stylelint-config/scss"
};

Publishing

Publishing works the same way as we have implemented in stardust-web.