0.10.0 • Published 16 days ago
@pega/eslint-config v0.10.0
@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
}
}
0.10.0
16 days ago
0.9.0
22 days ago
0.9.1
22 days ago
0.8.0
1 month ago
0.7.2
3 months ago
0.7.1
8 months ago
0.7.0
8 months ago
0.5.4
11 months ago
0.5.3
1 year ago
0.5.2
1 year ago
0.6.0
11 months ago
0.5.0
1 year ago
0.5.1
1 year ago
0.4.0
1 year ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.2
3 years ago
0.3.0
3 years ago
0.3.1
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago