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.
- Host: GitHub
- URL: https://github.com/ultimaker/stylelint-config
- Owner: Ultimaker
- License: gpl-3.0
- Created: 2019-09-30T07:56:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T13:57:03.000Z (about 3 years ago)
- Last Synced: 2025-06-09T21:47:59.329Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@ultimaker/stylelint-config
- Size: 234 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).