
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.
@dotcom-reliability-kit/eslint-config
Advanced tools
A linting config, specifically focussed on enhancing code quality and proactively catching errors/bugs before they make it into production
A linting config, specifically focussed on enhancing code quality and proactively catching errors/bugs before they make it into production. This is not a replacement for the @financial-times/eslint-config-next, but it can be installed alongside it or as an extension in it's config. This module is part of FT.com Reliability Kit.
Install @dotcom-reliability-kit/eslint-config as a development dependency:
npm install --save-dev @dotcom-reliability-kit/eslint-config
Reference the shared configuration in your repository's own .eslintrc.js like so:
module.exports = {
extends: ['@dotcom-reliability-kit/eslint-config']
}
Avoid using .eslintrc file format (without a file extension), as this has been depracated.
Add the following command to the scripts
object in your repository's package.json:
"lint:js": "eslint ."
Run that command in your terminal to lint your files (either cd into the relevant directory or run from root). Any linting errors found by the config will be displayed in your terminal, with helpful suggestions on how to resolve them.
Consult the Migration Guide if you're trying to migrate to a later major version of this package.
See the central contributing guide for Reliability Kit.
Licensed under the MIT license.
Copyright © 2023, The Financial Times Ltd.
FAQs
A linting config, specifically focussed on enhancing code quality and proactively catching errors/bugs before they make it into production
The npm package @dotcom-reliability-kit/eslint-config receives a total of 212 weekly downloads. As such, @dotcom-reliability-kit/eslint-config popularity was classified as not popular.
We found that @dotcom-reliability-kit/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.