
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.
@manuscripts/eslint-config
Advanced tools
Shared ESLint config for Manuscripts projects.
Use the following command to install ESLint, this shared config and the plugins needed as dev dependencies:
yarn add --dev eslint typescript \
@typescript-eslint/eslint-plugin @typescript-eslint/parser \
eslint-plugin-prettier eslint-config-prettier \
eslint-plugin-import eslint-plugin-simple-import-sort \
eslint-plugin-react eslint-plugin-react-hooks \
eslint-plugin-header eslint-plugin-jest \
eslint-plugin-promise eslint-plugin-node \
eslint-plugin-jsx-a11y \
eslint-plugin-mdx \
@manuscripts/eslint-config
Use the following in a project's .eslintrc.js
file (or eslintConfig
section in package.json
):
module.exports = {
extends: '@manuscripts/eslint-config',
parserOptions: {
project: './tsconfig.json',
},
}
The header/header
rule enforces a short Apache 2.0 license header at the start of every file.
To add the missing file header to all files in a project, run eslint --ext .ts,.tsx src --fix
To disable this rule, add the following to the "rules" section of the project's ESLint config:
"header/header": false
FAQs
Shared ESLint config for Manuscripts projects
The npm package @manuscripts/eslint-config receives a total of 201 weekly downloads. As such, @manuscripts/eslint-config popularity was classified as not popular.
We found that @manuscripts/eslint-config 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.