1.2.3 • Published 3 years ago

@brave-agency/stylelint-config v1.2.3

Weekly downloads
20
License
MIT
Repository
github
Last release
3 years ago

Node.js Package

stylelint-config

Brave's shareable Stylelint config for use across projects.

Installation

Install stylelint and @brave-agency/stylelint-config:

With Yarn

yarn add --dev stylelint @brave-agency/stylelint-config

With npm

npm install stylelint @brave-agency/stylelint-config --save-dev

Usage

Brave's stylelint rules come bundled in @brave-agency/stylelint-config. To enable these rules, add a stylelint property in your package.json. See the stylelint configuration docs for more details.

"stylelint": {
  "extends": ["@brave-agency/stylelint-config"]
}

Now you can run stylelint by adding the following linting script to your package.json. See the stylelint CLI docs for more details.

"scripts": {
   "lint:styles": "stylelint \"src/styles/**/*.scss\" --fix --formatter verbose",
}

Run it:

With Yarn

yarn run lint:styles

With npm

npm run lint:styles
1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago