Newer Version Available
Install the Komaci Static Analyzer
The Komaci static analyser is an ESLint plugin that you install using a package manager,
such as NPM or Yarn.
- Node.js >= 14.0.0
- A supported package manager
- NPM >= 6.0.0
- Yarn (Classic) >= 1.22.19
-
Add the Komaci Static Analyzer plugin and its dependencies to the development dependencies
of your project.
NPM
1npm install --save-dev @salesforce/eslint-plugin-lwc-graph-analyzerYARN1yarn add --dev @salesforce/eslint-plugin-lwc-graph-analyzer -
Install all project modules and dependencies locally in the project.
YARN
1yarn install -
Configure your project to use the new plugin.
Modify the .eslintrc.json file under your project’s force-app/main/default/lwc directory by adding the bolded text:
1{ 2 3 "extends": [ 4 "@salesforce/eslint-config-lwc/recommended", 5 6 "plugin:@salesforce/lwc-graph-analyzer/recommended" 7 ], 8 "overrides": [ 9...