
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.
@bedrockstreaming/eslint-config-react
Advanced tools
ESLint config used in Bedrock Streaming's React projects
The purpose of this package is simple, simplify the configuration of eslint and prettier in our projects.
It provides:
With that come some little changes from the default config of eslint-config-airbnb and prettier that you can find in index.js file and [here].
npm install --dev @bedrockstreaming/eslint-config-react
or
yarn add --dev @bedrockstreaming/eslint-config-react
Then you need to add the config in the .eslintrc
file of your project. For that create a .eslintrc
and add the following lines:
{
"extends": "@bedrockstreaming/eslint-config-react"
}
And that's all.
If you want to customize some rules, follow the eslint documentation.
If you want, you can add the jest support with the following lines:
{
"env": {
"browser": true,
"jasmine": true
}
}
Lint your code:
yarn eslint src/
Rewrite your code, the right way :smiling_imp::
yarn prettier-eslint -- --write 'src/**/*.js'
FAQs
ESLint config used in Bedrock Streaming's React projects
The npm package @bedrockstreaming/eslint-config-react receives a total of 1 weekly downloads. As such, @bedrockstreaming/eslint-config-react popularity was classified as not popular.
We found that @bedrockstreaming/eslint-config-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.