
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.
@movable/eslint-config
Advanced tools
@movable/eslint-config
The easiest way to set up this configuration is to leverage the Yeoman generator by running the following in the root of your project:
yarn create @movable/lint-config
This will ask you some questions about your project and set up the configuration for you based on the answers.
If you want to configure your project manually, you can do the following:
Add this package, as well as ESLint and Prettier, to your devDependencies
by running:
yarn add -D @movable/eslint-config
A few ESLint configurations are provided, based on the kind of environment you are working in.
@movable/eslint-config
)@movable/eslint-config-node
)@movable/eslint-config-ember
)@movable/eslint-config-react
)This sets up some shared rules, as well as configuring ESLint to run Prettier (so that both projects do not have to be run independently). You can extend from the base configuration like so:
{
"extends": "@movable/eslint-config"
}
Environment-specific packages can be included as well to better suit different use-cases. Note that each one is its own Node dependency and must be installed individually.
{
"extends": ["@movable/eslint-config", "@movable/eslint-config-node"]
}
It is recommended that you add the following package.json
to create an easy way to run ESLint from the command line:
{
"scripts": {
+ "lint": "eslint ."
}
}
This allows you to run the following:
yarn lint # Report errors in your project
yarn lint --fix # Fix anything that can be fixed automatically, and report everything else
FAQs
Shared ESLint configuration for Movable Ink
The npm package @movable/eslint-config receives a total of 581 weekly downloads. As such, @movable/eslint-config popularity was classified as not popular.
We found that @movable/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
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.