Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
eslint-config-brainly
Advanced tools
Brainly's base shareable ESLint config. It contains ESLint rules for ES6+ and flow - our standard setup for most of our current projects, both back-end and front-end.
If you're setting up a React project use eslint-config-brainly-react instead.
For legacy ES5 code use eslint-config-brainly-legacy.
Install the eslint-config-brainly
package with yarn
/npm
and make sure that
the peer dependencies are installed. In most cases (unless you need to have
full control over the eslint / eslit plugins versions) you can just rely on this
command:
npx install-peerdeps --dev eslint-config-brainly
and extend the "brainly"
setup in your .eslintrc
:
{
"extends": "brainly"
}
Since v2.0.0
this config enforces your project to use prettier
. It includes eslint-config-prettier
and eslint-plugin-prettier
so you can just run eslint
as usual and prettier
will be used to reformat the code.
If you need to have actual .prettierrc
file in your project you should extend the prettier.config.js
from this package:
// .prettierrc.js or prettier.config.js in your project
module.exports = require('eslint-config-brainly/prettier.config');
Looking for more of our tools configs? Check out this readme.
MIT
FAQs
Brainly's base shareable ESLint config
The npm package eslint-config-brainly receives a total of 621 weekly downloads. As such, eslint-config-brainly popularity was classified as not popular.
We found that eslint-config-brainly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.