
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@affinidi/eslint-config-react
Advanced tools
Affinidi's ESLint Configuration For React Projects
npm install --save-dev @affinidi/eslint-config-react
// .eslintrc.js
module.exports = {
extends: ['@affinidi/eslint-config-react'],
parserOptions: {
project: './tsconfig.eslint.json',
},
}
It is reccommended that you have a separate tsconfig.eslint.json
file that extends from your existing tsconfig.json
file. This file will add .eslintrc.js
to the "includes"
property.
{
"extends": "./tsconfig.json",
"include": ["...", ".eslintrc.js"]
}
VS Code's ESLint extension requires an additional setting to properly detect ESLint versions/installs/root paths. In a typical mono repo you can do the following:
"eslint.workingDirectories": [
{
"pattern": "./packages/*"
}
]
For more details check out the extention's docs.
FAQs
Affinidi's ESLint Configuration For React Projects
We found that @affinidi/eslint-config-react 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.
Security News
Former RubyGems maintainers have launched The Gem Cooperative, a new community-run project aimed at rebuilding open governance in the Ruby ecosystem.