
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@ptsecurity/eslint-config
Advanced tools
ESLint shareable config for the Positive Technologies JavaScript style guide.
npm install eslint @ptsecurity/eslint-config --save-dev
.eslintrc.js проекта должен выглядеть так:
module.exports = {
extends: '@ptsecurity/eslint-config'
}
Можно подключать наборы правил, или конфигурации для плагинов отдельно
// .eslintrc.js
module.exports = {
extends: [
'@ptsecurity/eslint-config/base',
'@ptsecurity/eslint-config/core/best-practices',
'@ptsecurity/eslint-config/plugins/typescript-eslint',
'@ptsecurity/eslint-config/plugins/import'
]
};
Пакет содержит конфигурацию eslint, подключаемую в проект.
Стандартные конфигурации для js и ts находятся в overrides/.
Собственные конфигурации можно создавать по аналогии с уже имеющимися стандартными,
используя утилиты load-core, load-plugins, находящиеся в utils.
Так же можно подключить частичные наборы правил (core), либо конфигурации для плагинов (plugins).
За основу можно взять базовый конфиг base.js
Errors должны указывать только на недопустимый или сломанный код.Warrnings должны указывать только на потенциальные ошибки или сбивающий с толку код.В данный момент в конфигурацию включены следующие плагины:
Вы можете расширять стандартную конфигурацию локально плагинами, вот некоторые из них:
Следующие плагины расширяют ESLint для работы с файлами json и lint JavaScript, содержащимися в HTML и MarkDown:
Следующие плагины ESLint обеспечивают соблюдение часто встречающихся практик:
FAQs
ESLint shareable config for the Positive Technologies JavaScript style guide.
We found that @ptsecurity/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released 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
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.