mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
19 lines
579 B
JavaScript
19 lines
579 B
JavaScript
// ESLint flat config for the Komaci offline static analyzer.
|
|
// Applies the recommended ruleset from
|
|
// @salesforce/eslint-plugin-lwc-graph-analyzer with the bundleAnalyzer
|
|
// processor wired in via the recommended config.
|
|
import lwcGraphAnalyzerPlugin from '@salesforce/eslint-plugin-lwc-graph-analyzer';
|
|
|
|
const PLUGIN_NAME = '@salesforce/lwc-graph-analyzer';
|
|
const RECOMMENDED = lwcGraphAnalyzerPlugin.configs.recommended;
|
|
|
|
export default [
|
|
{
|
|
name: `config: ${PLUGIN_NAME}`,
|
|
plugins: {
|
|
[PLUGIN_NAME]: lwcGraphAnalyzerPlugin,
|
|
},
|
|
...RECOMMENDED,
|
|
},
|
|
];
|