Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@w6s/vue-cli-plugin-stylelint
Advanced tools
stylelint plugin for vue-cli
Fork from @ascendancyy/vue-cli-plugin-stylelint.
vue-cli-service lint:style
Usage: vue-cli-service lint:style [options] [...files]
Options:
--no-fix do not auto-fix errors
--options list additional stylelint cli options
Lints and fixes files. If no specific files are given, it lints all vue files, html files, and stylesheets in src
.
Lint on (re)build with stylelint-webpack-plugin
can be enabled with the lintStyleOnBuild
option. You can also provide additional options to stylelint. See available options on the stylelint website.
module.exports = {
// ...
pluginOptions: {
lintStyleOnBuild: true,
stylelint: {
fix: true, // boolean (default: true)
files: '', // string | [string] (default: ['src/**/*.{vue,htm,html,css,sss,less,scss}'])
// See https://stylelint.io/developer-guide/formatters/
formatter: () => {} // function (default: require('stylelint-codeframe-formatter'))
// etc...
}
}
}
npm install -D @w6s/vue-cli-plugin-stylelint
vue invoke @w6s/vue-cli-plugin-stylelint
There is also a shorthand to invoke the plugin
vue invoke @w6s/stylelint
config.plugin('stylelint')
config.plugin('stylelint').use('stylelint-webpack-plugin')
config.plugin('friendly-errors').tap(/* Adds additional transformer and formatter */)
FAQs
stylelint plugin for vue-cli
The npm package @w6s/vue-cli-plugin-stylelint receives a total of 1 weekly downloads. As such, @w6s/vue-cli-plugin-stylelint popularity was classified as not popular.
We found that @w6s/vue-cli-plugin-stylelint demonstrated a not healthy version release cadence and project activity because the last version was released 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.