0.2.4 • Published 9 months ago

@channel.io/stylelint-bezier v0.2.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Stylelint Bezier

Stylelint configuration for Bezier design system.

Installation

npm

npm i -D @channel.io/stylelint-bezier

yarn

yarn add -D @channel.io/stylelint-bezier

Usage

Extend @channel.io/stylelint-bezier in your stylelint config.

{
  "extends": ["@channel.io/stylelint-bezier"]
}

Rules

validate-token

Disallows use of tokens not in bezier-tokens. If you want to use css variable other than bezier design token, you can set a specific prefix and add it to ignorePrefix.

{
  rule: {
    'bezier/validate-token': [
      true,
      {
        ignorePrefix: ['b-'],
        severity: 'warning',
      },
    ],
  }
}

Version Matchups

@channel.io/stylelint-bezier@channel.io/bezier-react
0.1.02.2.4
0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

10 months ago

0.2.0

11 months ago

0.1.0

11 months ago