Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@pro-vision/stylelint-config-pv
Advanced tools
pro!vision stylelint configuration. Can be adapted and adjusted in each project.
This package provides pro!vision's Stylelint configuration as an extensible shared config. It follows the Idiomatic CSS for ordering properties.
Inspired by Stylelint's own stylelint-config-standard
npm i -DE stylelint-scss stylelint stylelint-order stylelint-declaration-use-variable @pro-vision/stylelint-config-pv
You obviously need stylelint installed. Unless you are only using the plain css rules, you will also need to install some plugins
# default
npm i -DE stylelint stylelint-scss stylelint-declaration-use-variable stylelint-order
# plain CSS only
npm i -DE stylelint
# scss rules
npm i -DE stylelint-scss stylelint-declaration-use-variable
# idiomatic css
npm i -DE stylelint-order
We export two configurations for usage in projects, with the possibility to include or exclude Idiomatic CSS
Our default export contains all of our Stylelint rules, including SCSS plugins.
Add an "extends":
array to your .stylelintrc:
{
"extends": [
"stylelint-config-pv"
],
"rules": {
// you can overwrite individual rules here
}
}
Alternatively, you can import whatever combination of the following rules suits your project:
{
"extends": [
"stylelint-config-pv/plain-css",
"stylelint-config-pv/scss",
"stylelint-config-pv/order",
],
"rules": {
// you can overwrite individual rules here
}
}
For information about individual rules see See
There are a Visual Studio Code plugin and a Sublime Linter plugin for Stylelint.
According to the documentation,
Version 2016.3 onwards has built-in support for stylelint.
2.0.3
FAQs
pro!vision stylelint configuration. Can be adapted and adjusted in each project.
The npm package @pro-vision/stylelint-config-pv receives a total of 908 weekly downloads. As such, @pro-vision/stylelint-config-pv popularity was classified as not popular.
We found that @pro-vision/stylelint-config-pv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.