🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@ultimaker/stylelint-config

Package Overview
Dependencies
Maintainers
12
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ultimaker/stylelint-config

Mostly sane Stylelint rules for Ultimaker web-based projects

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
427
21250%
Maintainers
12
Weekly downloads
 
Created
Source

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

To publish a new version run npm version with the appropriate parameters (see npm-version). This will update package.json for you, commit it and create an annotated tag. After pushing, CI will pick this up and automatically publish to the npm registry. Next go to releases on GitHub and document the changes.

Example

The following example will bump the minor version number.

$ npm version minor
$ git push --follow-tags

Note: This version will be published as soon as your changes are merged to master.

Example: alpha version

The following example will explicitly set the version to 1.0.0-alpha.4.

$ npm version 1.0.0-alpha.4
$ git push --follow-tags

Note: This version will be published to the npm registry while you are still working on your branch.

Note: Alpha versions cannot be bumped automatically using npm version.

Keywords

ultimaker

FAQs

Package last updated on 16 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts