3.2.0 • Published 2 years ago

@justeat/stylelint-config-fozzie v3.2.0

Weekly downloads
300
License
Apache-2.0
Repository
github
Last release
2 years ago

stylelint-config-fozzie :bear:

npm version Build Status

Fozzie shareable stylelint config.

A Stylelint config used in Fozzie – Just Eat’s Component Framework

Use it as is or as a foundation for your own config.

To see the rules that this config uses, please read the config itself.

Installation

npm install @justeat/stylelint-config-fozzie --save-dev

Usage

If you've installed stylelint-config-fozzie locally within your project, just set your stylelint config to:

{
  "extends": "@justeat/stylelint-config-fozzie"
}

The easiest way to do this is by adding the following section to your package.json:

"stylelint": {
  "extends": "@justeat/stylelint-config-fozzie"
}

If you've globally installed stylelint-config-fozzie using the -g flag, then you'll need to use the absolute path to stylelint-config-fozzie in your config e.g.

{
  "extends": "/absolute/path/to/@justeat/stylelint-config-fozzie"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to change the indentation to tabs, turn off the number-leading-zero rule:

{
  "extends": "@justeat/stylelint-config-fozzie",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Documentation

Configured Lints

stylelint-config-fozzie is a great foundation for your own config. Here is a list of the rules turned on in this config, and what they do:

Changelog

License

3.2.0

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.3.0

2 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago