
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@frsource/vite-plugin-stylelint
Advanced tools
Important
This plugin has been deprecated in favor of
vite-plugin-checker
. Please refer to its' documentation to learn how to setup the stylelint check.
Stylelint plugin for vite. Supports autofixing & lints only the files imported in your project. See the example
directory to check Vue / React usage.
npm install @frsource/vite-plugin-stylelint --save-dev
# or
yarn add @frsource/vite-plugin-stylelint --dev
import { defineConfig } from 'vite';
import stylelintPlugin from '@frsource/vite-plugin-stylelint';
export default defineConfig({
plugins: [stylelintPlugin({ /** Options */ })],
});
Apart from the standard Stylelint options this plugin can be configured using the ones below:
fix
boolean
false
Auto fix the source code.
include
string | string[]
['src/**/*.css', 'src/**/*.less', 'src/**/*.styl', 'src/**/*.scss', 'src/**/*.sass', 'src/**/*.vue']
A single file, or array of files, to include when linting.
exclude
string | string[]
'node_modules'
A single file, or array of files, to exclude when linting.
formatter
string | Stylelint.FormatterType
'string'
Custom error formatter or the name of a built-in Styleling formatter, defaults to 'string'
.
throwOnWarning
boolean
true
Should the warnings found be emitted, defaults to true.
throwOnError
boolean
true
Whether errors found should be emitted to console & stop the build, defaults to true.
cache
boolean
true
Decrease execution time by enabling Stylelint cache. Defaults to true.
cacheLocation
string
'<cwd>/node_modules/.vite/@frsource-vite_plugin-stylelint'
Path for the cache, defaults to '<cwd>/node_modules/.vite/@frsource-vite_plugin-stylelint'
.
This project is using yarn version 3. Make sure to use yarn set version latest
to download it before doing any changes.
MIT
FAQs
Stylelint plugin for vite.
The npm package @frsource/vite-plugin-stylelint receives a total of 90 weekly downloads. As such, @frsource/vite-plugin-stylelint popularity was classified as not popular.
We found that @frsource/vite-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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.