Skip to content

Commit

Permalink
Add path to the help page.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdctaka committed May 15, 2024
1 parent 0af590a commit 0f32c60
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/util/createRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
*/

import { ESLintUtils } from '@typescript-eslint/utils';
import { version, homepage } from '../../package.json';

export default ESLintUtils.RuleCreator(
// TODO: Add path to the doc like it is done here when the docs are ready
// https://github.com/salesforce/eslint-plugin-lwc-graph-analyzer/blob/main/lib/util/doc-url.js
(_name) => ``
name => `${homepage}/blob/v${version}/lib/docs/${name}.md`
);

0 comments on commit 0f32c60

Please sign in to comment.