
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.
@lintkit/eslint-config
Advanced tools
Install the dependency
npm i --dev @lintkit/eslint-config --save
Add the cache file to your .gitignore
# Linting
.cache
Add the scripts to your package.json
"scripts": {
"eslint:dry-run": "eslint app --color --cache --config node_modules/@lintkit/eslint-config/eslint.config.js --cache-location .cache/ --cache-strategy content",
"eslint:fix": "npm run eslint:dry-run -- --fix",
}
If you need to override some of the config (but keep LintKit defaults), place a file in the root of your project eslint.config.js
(or eslint.config.mjs
if required)
Update the script
to use your local eslint.config.js
file instead of the LintKit one.
You can then include the LintKit config and add customisations where required.
import config from '@lintkit/eslint-config/config.js';
config.js.ignores: [
...config.js.ignores,
'**/.Build/**',
]
export default Object.values(config);
node_modules/@lintkit/eslint-config/eslint.config.mjs
should be corrected to node_modules/@lintkit/eslint-config/eslint.config.js
FAQs
LintKit: EsLint Config
We found that @lintkit/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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.