Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@callstack/eslint-config
Advanced tools
Callstack eslint config utilizing Airbnb config, Flow, Prettier and Jest support.
Plugins and configs used:
Additionally, it sets these environments:
{
"env": {
"browser": true,
"es6": true,
"node": true
}
}
yarn add --dev eslint @callstack/eslint-config
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
Add to your eslint config (.eslintrc
, or eslintConfig
field in package.json
):
{
"extends": "@callstack"
}
{
"extends": "@callstack",
"rules": {
"global-require": 0,
"prefer-destructuring": 0
}
}
Latest create-react-app
ships with different version of eslint-plugin-jsx-a11y
that causes the following error to happen as soon as you integrate the preset to your application: Definition for rule 'jsx-a11y/label-has-associated-control' was not found
.
Thankfully, this can be easily fixed by using yarn resolution mechanism to tell it to use the right version.
"resolutions": {
"eslint-plugin-jsx-a11y": "6.1.1"
}
FAQs
ESLint preset extending recommended ESLint config, TypeScript, Prettier and Jest
The npm package @callstack/eslint-config receives a total of 7,600 weekly downloads. As such, @callstack/eslint-config popularity was classified as popular.
We found that @callstack/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.