mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-02-06 10:45:47 +00:00
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@ivuorinen/stylelint-config
ivuorinen's shareable configuration for
stylelint.
Table of Contents
Installation
Install this config as a devDependencies:
# npm
npm install @ivuorinen/stylelint-config --save-dev
# Yarn
yarn add @ivuorinen/stylelint-config --dev
After installing it, a .stylelintrc.json file will be created automatically in the project's root folder with the following configuration:
{
"extends": ["@ivuorinen/stylelint-config/css"]
}
Usage
This package provides configuration for CSS and SCSS, you can choose which one you want to extend:
CSS (Default)
{
"extends": ["@ivuorinen/stylelint-config/css"]
}
SCSS
{
"extends": ["@ivuorinen/stylelint-config/scss"]
}
Extending the config
The defined rules can be modified by adding other configurations, plugins or custom rules:
{
"extends": ["@ivuorinen/stylelint-config/css", "some-other-config-you-use"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends", "ignores"]
}
]
}
}
Documentations
Read the stylelint docs for more information.
Contributing
If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.
Changelog
See CHANGELOG for a human-readable history of changes.
License
Distributed under the MIT License. See LICENSE for more information.