1.1.31 • Published 1 month ago

@newlevelup/stylelint-config v1.1.31

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

stylelint-config Package version NPM version Github Package version

New Level Up shareable config for stylelint

Installation

:bulb: The purpose of stylelint is to style and format your css, sass, scss files. This takes cares of new style conventions and warns about old deprecated style rules.

Install stylelint and @newlevelup/stylelint-config:

yarn add -D stylelint @newlevelup/stylelint-config

Prettier

@newlevelup/eslint-config should be used in conjunction with Prettier. See the @newlevelup/prettier-config installation guide for more details.

Usage

New Level Up stylelint rules come bundled in @newlevelup/stylelint-config. To enable these rules, add a stylelint property in your package.json. See the stylelint configuration docs for more details.

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

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

"scripts": {
  "lint:css": "stylelint --cache --ignore-path .gitignore '**/*.?(s)css'",
  "format:css": "yarn lint:css --fix"
}

Lint it:

yarn lint:css

Format it:

yarn format:css
1.1.31

1 month ago

1.1.29

9 months ago

1.1.28

9 months ago

1.1.30

8 months ago

1.1.27

9 months ago

1.1.26

10 months ago

1.1.25

10 months ago

1.1.24

10 months ago

1.1.19

12 months ago

1.1.23

11 months ago

1.1.22

11 months ago

1.1.21

11 months ago

1.1.20

12 months ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago