Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-brad
Advanced tools
ESLint configuration files for my style
yarn add -D eslint-config-brad @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jest eslint-plugin-node eslint-plugin-simple-import-sort eslint-restricted-glob
If you're working on a non-react project:
{
"extends": [
"brad",
],
}
If you're working on a react project:
yarn add -D eslint-plugin-react eslint-plugin-react-hooks
{
"extends": [
"brad/react",
],
}
Standardised prettier config can be used by creating the following .prettierrc.json
in your project root:
"eslint-config-brad/prettier"
Clone the repo, and then install the dependencies yarn install
Available Commands:
make build
- run a typescript build on each packagemake lint
- lint the entire codebasemake format
- run prettier on the codebasemake show-unused
- scan the packages and their plugins to find any rules that haven't been definedmake regenerate-types
- generate the typescript definition files for all of the valid, non-deprecated rulesFAQs
bradzacher's ESlint config
The npm package eslint-config-brad receives a total of 139 weekly downloads. As such, eslint-config-brad popularity was classified as not popular.
We found that eslint-config-brad 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.