
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.
@mitchreece/eslint-config-base
Advanced tools
Native javascript linter configuration options for eslint.
Install this eslint config by adding the npm package to your projects dev dependencies.
yarn:
yarn add @mitchreece/eslint-config-base --dev
npm:
npm i @mitchreece/eslint-config-base --save-dev
To use these rules in your eslint setup just extend the npm package in your eslint config file.
{
"extends": "@mitchreece/eslint-config-base"
}
There are also more specific config files for both browser and node environments. These env specific config files can be extended in your eslint config file.
browser:
"extends": "@mitchreece/eslint-config-base/browser"
node:
"extends": "@mitchreece/eslint-config-base/node"
Prettier
There is a bit of overlap between eslint and prettier rules causing compatibility issues between the two.
Look at the .eslintrc file in the root of this monorepo to see an example of configuring eslint to work with prettier.
This project is licensed under the MIT License.
FAQs
Standard eslint config options for javascript projects
We found that @mitchreece/eslint-config-base 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.