New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@contactlab/stylelint-config-uxd

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contactlab/stylelint-config-uxd

Stylelint configuration used in Contactlab projects.

1.1.8
latest
Version published
Weekly downloads
9
Maintainers
4
Weekly downloads
 
Created

Contactlab UXD Stylelint

NPM version Conventional Commits

Stylelint configuration used in Contactlab projects.

The purpose of this library is to promote code style consistency across complex projects in organizations of all sizes.

Installation

We recommend to use Yarn over npm (is fine anyway) and this stylelint config package:

$ yarn add --dev @contactlab/stylelint-config-uxd

Usage

Create a .stylelintrc file with the following basic configuration:

{
  "extends": "@contactlab/stylelint-config-uxd"
}

Otherwise, add the stylelint key to your package.json:

{
  "stylelint": {
    "extends": "@contactlab/stylelint-config-uxd"
  }
}

For more details about how shareable configs work, see the Stylelint documentation.

Tests

$ yarn install && yarn test

Similar projects

A configuration for linting JavaScript (ES5 & ES6) with eslint is available at eslint-config-contactlab.

Rules

The configuration extends the default stylelint-config-standard rules. A more comprehensive list of examples is available in the examples folder.

Package specific rules can be found in ./lib folder.

FAQs

Package last updated on 14 Aug 2018

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