stylelint-config-recommended

WebJar for stylelint-config-recommended

Лицензия

Лицензия

MIT
Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

stylelint-config-recommended
Последняя версия

Последняя версия

2.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

stylelint-config-recommended
WebJar for stylelint-config-recommended
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/stylelint/stylelint-config-recommended

Скачать stylelint-config-recommended

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/stylelint-config-recommended/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>stylelint-config-recommended</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/stylelint-config-recommended/
implementation 'org.webjars.npm:stylelint-config-recommended:2.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/stylelint-config-recommended/
implementation ("org.webjars.npm:stylelint-config-recommended:2.1.0")
'org.webjars.npm:stylelint-config-recommended:jar:2.1.0'
<dependency org="org.webjars.npm" name="stylelint-config-recommended" rev="2.1.0">
  <artifact name="stylelint-config-recommended" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='stylelint-config-recommended', version='2.1.0')
)
libraryDependencies += "org.webjars.npm" % "stylelint-config-recommended" % "2.1.0"
[org.webjars.npm/stylelint-config-recommended "2.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

stylelint-config-recommended

NPM version Build Status

The recommended shareable config for stylelint.

It turns on all the possible errors rules within stylelint.

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

Installation

npm install stylelint-config-recommended --save-dev

Usage

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

{
  "extends": "stylelint-config-recommended"
}

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

{
  "extends": "/absolute/path/to/stylelint-config-recommended"
}

Since stylelint 9.7.0, you can simply use the globally installed configuration name instead of the absolute path:

{
  "extends": "stylelint-config-recommended"
}

Extending the config

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

For example, to change the at-rule-no-unknown rule to use its ignoreAtRules option, turn off the block-no-empty rule, and add the unit-allowed-list rule:

{
  "extends": "stylelint-config-recommended",
  "rules": {
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["extends"]
      }
    ],
    "block-no-empty": null,
    "unit-allowed-list": ["em", "rem", "s"]
  }
}

Changelog

License

org.webjars.npm

stylelint

A mighty, modern CSS linter

Версии библиотеки

Версия
2.1.0