
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
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.
The npm package blyss receives a total of 8 weekly downloads. As such, blyss popularity was classified as not popular.
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
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.