An open API service indexing awesome lists of open source software.

https://github.com/ultimaker/stylelint-config

Linting configuration for Ultimaker CSS rules.
https://github.com/ultimaker/stylelint-config

Last synced: 8 months ago
JSON representation

Linting configuration for Ultimaker CSS rules.

Awesome Lists containing this project

README

          

# 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:

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

To lint SCSS files, add the following:

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

## Publishing
Publishing works the same way as we have implemented in [stardust-web](https://github.com/Ultimaker/stardust-web/blob/master/docs/publishing.md).