4.0.5 • Published 2 months ago

@justia/stylelint-config v4.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
2 months ago

@justia/stylelint-config version 4.0.5

Justia's base Scss Stylelint configuration

This stylelint configuration uses the basic declaration order of Idiomatic CSS, applies the Sass Guidelines to a more consistent Scss and uses prettier to format the code.

Make sure you upgrade to at least Node.js 12.22.0 when using this packages because of prettier and other plugins used internally.

Install

Install the correct versions of the peer dependencies, which are listed by the command:

npm info "@justia/stylelint-config@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @justia/stylelint-config

If using npm < 5, Linux/OSX users can run

(
export PKG=@justia/stylelint-config;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Which produces and runs a command like:

npm install --save-dev @justia/stylelint-config stylelint@^#.#.# prettier@^#.#.#

Usage

Set your stylelint configuration to:

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

You can easily extend the config to your needs.

@justia/stylelint-config/rscss

This entry point enables the validation of the code against RSCSS conventions.

{
  "extends": ["@justia/stylelint-config/rscss"]
}
4.0.5

2 months ago

4.0.4

1 year ago

4.0.3

1 year ago

4.0.2

1 year ago

4.0.1

2 years ago

4.0.0

2 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago