
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@ued2345/stylelint-config
Advanced tools
CSS 编码规范之 stylelint 配置文件 ‧ UED2345
在你的项目中安装 stylelint 和配置包:
npm i -D stylelint
npm i -D @ued2345/stylelint-config
在你的项目的根目录添加 .stylelintrc.js
文件:
module.exports = {
extends: [
'@ued2345/stylelint-config'
],
ignoreFiles: [
'./dist/**/*.*',
],
}
在你的项目的 package.json
文件中添加脚本:
{
"scripts": {
"lint-css": "stylelint src/**/*.scss src/**/*.vue"
}
}
执行以下命令开始校验 CSS 代码:
npm run lint-css
如果需要 stylelint 帮忙修复(只有部分问题可以自动修复),执行以下命令:
npm run lint-css -- --fix
如有必要,你可以把上述命令整合到 CI、Git hook 等工作流中。
FAQs
Stylelint config by UED2345
The npm package @ued2345/stylelint-config receives a total of 0 weekly downloads. As such, @ued2345/stylelint-config popularity was classified as not popular.
We found that @ued2345/stylelint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.