Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosanca/stylelint-config-nucleum
Shareable stylelint config for Nucleum
https://github.com/cosanca/stylelint-config-nucleum
itcss stylelint stylelint-config
Last synced: about 1 month ago
JSON representation
Shareable stylelint config for Nucleum
- Host: GitHub
- URL: https://github.com/cosanca/stylelint-config-nucleum
- Owner: CosAnca
- License: mit
- Created: 2020-04-28T21:22:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T23:05:55.000Z (over 1 year ago)
- Last Synced: 2024-08-08T22:15:33.290Z (3 months ago)
- Topics: itcss, stylelint, stylelint-config
- Language: JavaScript
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Nucleum stylelint Config
A sharable [stylelint][stylelint] configuration for [Nucleum].
Extends: [stylelint-config-recommended], [stylelint-config-property-sort-order-smacss] and [stylelint-scss].
[stylelint]: https://stylelint.io/
[Nucleum]: https://github.com/CosAnca/nucleum
[stylelint-config-recommended]: https://github.com/stylelint/stylelint-config-recommended
[stylelint-config-property-sort-order-smacss]: https://github.com/cahamilton/stylelint-config-property-sort-order-smacss
[stylelint-scss]: https://github.com/kristerkari/stylelint-scssTurns on additional rules to enforce common stylistic conventions found within the ITCSS architectural pattern:
To see the rules that this config uses, please read the [config](/index.js) itself.
## Installation
If using **npm**, run:
```bash
npm install stylelint-config-nucleum --save-dev
```If using **Yarn**, run:
```bash
yarn add stylelint-config-nucleum --dev
```## Usage
Set your [stylelint configuration][stylelint-configuration] to:
```json
{
"extends": "stylelint-config-nucleum"
}
```You can override rules from the shared configuration, by setting your
own values within the `rules` property:```json
{
"extends": "stylelint-config-nucleum",
"rules": {
"string-quotes": "single"
}
}
```You can also turn a rule off, by setting the value of the rule to `null`:
```json
{
"extends": "stylelint-config-nucleum",
"rules": {
"string-quotes": null
}
}
```[stylelint-configuration]: https://stylelint.io/user-guide/configuration/
### Atom integration
stylelint can be integrated into [Atom][atom] so that you will be alerted of
any warnings and errors inline, while you work.Install the [linter][linter] and [linter-stylelint][linter-stylelint] packages
using Atom’s package manager or enter this into your terminal:```bash
apm install linter linter-stylelint
```[atom]: https://atom.io/
[linter]: https://atom.io/packages/linter
[linter-stylelint]: https://atom.io/packages/linter-stylelint## License
Nucleum stylelint Config is copyright (c) 2020 Cos Anca. It is free software, and may be redistributed under the terms specified in the [LICENSE] file.
[LICENSE]: /LICENSE.md
## About
Nucleum stylelint Config is maintained by [Cos Anca](https://github.com/CosAnca).
I love open source software! See [my other projects][community].
[community]: https://github.com/CosAnca