
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@ver0/eslint-config
Advanced tools
yarn add -D @ver0/eslint-config
This configuration implies usage of typescript and prettier by default, even though it is possible to disable
respective lint rules -- these packages will be installed anyways.
import {buildConfig} from '@ver0/eslint-config';
/** @typedef {import('eslint').Linter} Linter */
/** @type {Linter.Config[]} */
const cfg = [
...buildConfig({
globals: 'node',
prettier: true,
typescript: true,
json: true,
markdown: true,
react: false,
vitest: false,
}),
{
files: ['README.md'],
language: 'markdown/gfm',
},
];
export default cfg;
Array returned from buildConfig function is a list of ESLint configurations that should be spreaded into the final
configuration.
In order to sync configuration of prettier with ESLint, it is recommended to extend the configuration from this package.
import ver0Cfg from '@ver0/eslint-config/prettierrc.js';
/**
* @type {import("prettier").Config}
*/
export default {
...ver0Cfg,
};
.editorconfig with according configuration can also be copied from this repo.
[*]
indent_style = tab
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
[*.yml]
indent_style = space
indent_size = 2
FAQs
ESLint configs used in all ver0 projects
We found that @ver0/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.