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.
@binaryben/eslint-config
Advanced tools
See the Confluence styleguide page for more information.
The default eslint-config option assumes the project is using Typescript.
It is based on AirBnB style with some tweaks.
Installing the @binaryben ESLint configs will automatically install Prettier and the Lotterywest Prettier config as peer dependencies as well.
$ npm i -D git+https://{team}:{password}@bitbucket.org/lotterywest/eslint-config.git
package.json
{
// ...
"scripts": {
// ...
"lint": "npm run lint:format && npm run lint:errors && ...",
"lint:format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:errors": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --quiet"
// ...
},
// ...
"prettier": "@binaryben/prettier-config",
"eslintConfig": {
"root": true,
"extends": ["@binaryben"]
}
}
To use the other ESLint options provided in this repo, add them to the extends
array. For example, to add support for a React based project:
"eslintConfig": {
"root": true,
"extends": ["@binaryben", "@binaryben/eslint-config/react]
}
prettier.requireConfig
and editor.formatOnSave
to true
npm run lint
Note: It is highly recommended to use this with eslint as well
FAQs
Lotterywest ESLint config
The npm package @binaryben/eslint-config receives a total of 0 weekly downloads. As such, @binaryben/eslint-config popularity was classified as not popular.
We found that @binaryben/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
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.