Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
stylelint-config-prettier-scss
Advanced tools
Readme
Turns off all CSS and SCSS rules that are unnecessary or might conflict with Prettier (extends stylelint-config-prettier
). This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier.
Install stylelint-config-prettier-scss
:
npm install --save-dev stylelint-config-prettier-scss
Then, append stylelint-config-prettier-scss
to the extends
array in your .stylelintrc.*
file. Make sure to put it last, so it will override other configs.
{
"extends": [
// other configs ...
"stylelint-config-prettier-scss"
]
}
stylelint-config-prettier-scss
is shipped with a little CLI tool to help you check if your configuration contains any rules that are in conflict with Prettier.
In order to execute the CLI tool, first add a script for it to package.json
:
{
"scripts": {
"stylelint-scss-check": "stylelint-config-prettier-scss-check"
}
}
Then run npm run stylelint-scss-check
.
eslint-config-prettier
.tslint-config-prettier
.prettier-stylelint
.FAQs
Turns off all SCSS rules that are unnecessary or might conflict with Prettier.
The npm package stylelint-config-prettier-scss receives a total of 116,968 weekly downloads. As such, stylelint-config-prettier-scss popularity was classified as popular.
We found that stylelint-config-prettier-scss demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.