Socket
Book a DemoInstallSign in
Socket

@pega/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pega/eslint-config

Pega front-end ESLint configuration.

latest
npmnpm
Version
0.17.0
Version published
Maintainers
3
Created
Source

@pega/eslint-config

Pegasystems front-end ESLint configuration.

Installation

Install ESLint, the Pega config, and the required ESLint plugins.

npm i -D eslint @pega/eslint-config @typescript-eslint/eslint-plugin eslint-plugin-import eslint-plugin-jest eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-sonarjs

Setting up your config

Extend from the Pega configuration in your ESLint configuration file.

{
  "extends": ["@pega"]
}

Running ESLint

Run ESLint to check all .js, .mjs, .cts, .jsx, .ts, .mts, .cts, and .tsx files in the current directory.

npx eslint .

VS Code integration

Install the VS Code extension, and update your .vscode/settings.json to enable your editor to run ESLint for you automatically.

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Keywords

eslint

FAQs

Package last updated on 10 Jul 2025

Did you know?

Socket

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.

Install

Related posts