
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@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.
Globals configuration also controls some configs and plugins.
In case globals is set to node - it enables node plugin and node environment.
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
The npm package @ver0/eslint-config receives a total of 76 weekly downloads. As such, @ver0/eslint-config popularity was classified as not popular.
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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.