
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@twostoryrobot/eslint-config
Advanced tools
The Two Story Robot sharable eslint configuration so you can lint like us.
Install the package
npm install --save-dev @twostoryrobot/eslint-config
Make sure to install the peer dependencies
npm install --save-dev eslint eslint-plugin-jest eslint-plugin-react
Add @twostoryrobot/eslint-config
(or just @twostoryrobot
) or
@twostoryrobot/eslint-config/react
(no shortcut for the react config, sorry)
to the extends
of your .eslintrc
.
Example: .eslintrc.js
:
module.exports = {
extends: ['@twostoryrobot/eslint-config/react']
}
If you are using NPM >5 you can also do this:
npx install-peerdeps --dev @twostoryrobot/eslint
Now you can add a script to your project's package.json that calls eslint and it will reference the config file in the root of your project directory.
"scripts": {
"eslint": "eslint '**/*.js'"
}
If you install husky you can invoke eslint as a hook for various actions (precommit, prepush, etc)
"scripts": {
"precommit": "eslint '**/*.js'"
}
FAQs
Two Story Robot eslint configuration
The npm package @twostoryrobot/eslint-config receives a total of 3 weekly downloads. As such, @twostoryrobot/eslint-config popularity was classified as not popular.
We found that @twostoryrobot/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.