4.0.0 • Published 3 months ago

@jgarber/stylelint-config v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@jgarber/stylelint-config

Shareable Stylelint configuration.

npm Downloads Build

!NOTE See @jgarber/stylelint-config-scss for a shareable Stylelint configuration suitable for SCSS syntax Sass files.

Installation

npm install --save-dev @jgarber/stylelint-config

Usage

Stylelint supports a variety of configuration file formats.

YAML

In a file named .stylelintrc or .stylelintrc.yml:

---
extends: "@jgarber/stylelint-config"
---

JSON

In a file named .stylelintrc or .stylelintrc.json:

{
  "extends": "@jgarber/stylelint-config"
}

JavaScript

In a JavaScript file using ECMAScript module (ESM) syntax:

// stylelint.config.mjs
export { default } from "@jgarber/stylelint-config";

In a JavaScript file using CommonJS module syntax:

// stylelint.config.cjs
module.exports = {
  extends: "@jgarber/stylelint-config"
}

License

@jgarber/stylelint-config is freely available under the MIT License.

4.0.0

3 months ago

3.0.1

4 months ago

3.0.0

4 months ago

1.2.0

9 months ago

1.1.0

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.4.0

10 months ago

2.0.0

7 months ago

0.3.0

11 months ago

0.2.0

2 years ago

0.1.0

2 years ago