@vkontakte/stylelint-config
Advanced tools
Comparing version 4.0.0-beta.2 to 4.0.0-beta.3
{ | ||
"name": "@vkontakte/stylelint-config", | ||
"version": "4.0.0-beta.2", | ||
"version": "4.0.0-beta.3", | ||
"description": "stylelint config from VK", | ||
@@ -38,5 +38,5 @@ "main": "index.js", | ||
"postcss": "^8.4.16", | ||
"stylelint": "^14.11.0", | ||
"stylelint-declaration-strict-value": "^1.9.0" | ||
"stylelint": "^15.11.0 || ^16.1.0", | ||
"stylelint-declaration-strict-value": "^1.9.2" | ||
} | ||
} |
@@ -7,17 +7,20 @@ # @vkontakte/stylelint-config | ||
`yarn add @vkontakte/stylelint-config` или `npm i @vkontakte/stylelint-config` | ||
```sh | ||
yarn add -D @vkontakte/stylelint-config stylelint stylelint-declaration-strict-value postcss | ||
``` | ||
Учтите, что помимо основого пакета, вам нужно установить его peerDependencies. Выполните команду | ||
`npm info "@vkontakte/stylelint-config" peerDependencies`, чтобы увидеть требуемые версии зависимостей. | ||
или | ||
```sh | ||
npm install -D @vkontakte/stylelint-config stylelint stylelint-declaration-strict-value postcss | ||
``` | ||
## Использование | ||
В вашем .stylelintrc.json добавьте extends: | ||
```js | ||
// .stylelintrc.json | ||
// на примере, .stylelintrc.js | ||
modules.exports = { | ||
"extends": ["@vkontakte/stylelint-config"] | ||
} | ||
extends: ["@vkontakte/stylelint-config"], | ||
}; | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26
87868