
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.
@aivenio/eslint-config-aiven
Advanced tools
ESLint configuration, following the styleguide of aiven.io
Our internal ESLint and prettier configuration. We want to autoformat code like prettier does, but also do more static checks that eslint does. To do both, we use eslint-plugin-prettier and eslint acts as the frontend to check and autofix style and other issues.
The configuration is split into:
@aivenio/eslint-config-aiven
@aivenio/eslint-config-aiven/react
@aivenio/eslint-config-aiven/typescript-type-checked
npm install @aivenio/eslint-config-aiven
Create an .eslintrc file to your repository root and select which configuration to use:
{
"extends": ["@aivenio/eslint-config-aiven"]
// "extends": ["@aivenio/eslint-config-aiven/react", "@aivenio/eslint-config-aiven/typescript-type-checked"]
}
When using eslint-config-aiven/react
, install the required peer dependencies: eslint-plugin-react
, eslint-plugin-react-hooks
and eslint-plugin-jsx-a11y
.
"eslint:fix": "eslint --config .eslintrc --fix \"src/**/*.{ts,tsx}\"",
"eslint:check": "eslint --config .eslintrc \"src/**/*.{ts,tsx}\"",
Follow all steps in "Install recommended base" first
Install additional peer dependencies
npm i --save-dev eslint-plugin-jsx-a11y
npm i --save-dev eslint-plugin-react
{
"extends": ["@aivenio/eslint-config-aiven/react"]
}
FAQs
ESLint configuration, following the styleguide of aiven.io
The npm package @aivenio/eslint-config-aiven receives a total of 3,099 weekly downloads. As such, @aivenio/eslint-config-aiven popularity was classified as popular.
We found that @aivenio/eslint-config-aiven demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.