
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
A preset linter without any style rules. Focus on the errors and let Prettier handle your styling.
Features:
prettier
prettier
config handle whitespace, quotes, semicolons, tabs/spaces, trailing commas, etc$ npm install -g blyss
$ blyss
Error: Blyss Linter
lib/index.js:15:11: Expected '===' and instead saw '=='.
blyss
as a devDependency
for your project by running npm install -D blyss
scripts
field to use the linter{
"name": "my-cool-package",
"devDependencies": {
"blyss": "*"
},
"scripts": {
"lint": "blyss"
}
}
npm run lint
whenever you want to lint your code.snazzy
If you want prettier output, just install the snazzy
package and pipe blyss
to it:
$ blyss --verbose | snazzy
Just like in standard
, The paths node_modules/**
, *.min.js
, bundle.js
, coverage/**
, hidden files/folders
(beginning with .
), and all patterns in a project's root .gitignore
file are
automatically excluded when looking for .js
files to check.
Sometimes you need to ignore additional folders or specific minfied files. To do that, add
a blyss.ignore
property to package.json
:
"blyss": {
"ignore": [
"**/out/",
"/lib/select2/",
"/lib/ckeditor/",
"tmp.js"
]
}
Thanks to @feross and @flet for creating standard-engine
which is what this project is built on.
FAQs
A preset JavaScript linter that leaves style rules to be handled by Prettier.
We found that blyss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.