Skip to content

Commit

Permalink
fix: add docs url for both plugins (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored Mar 7, 2021
1 parent 5014429 commit 4c9b068
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { ESLintUtils, TSESLint } from '@typescript-eslint/experimental-utils';

export const createESLintRule = ESLintUtils.RuleCreator(() => ``);
export const createESLintRule = ESLintUtils.RuleCreator(
(_ruleName) => `https://github.com/angular-eslint/angular-eslint`,
);

interface SourceSpan {
start: { line: number; col: any };
Expand Down
4 changes: 3 additions & 1 deletion packages/eslint-plugin/src/utils/create-eslint-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import {
TSESLint,
} from '@typescript-eslint/experimental-utils';

export const createESLintRule = ESLintUtils.RuleCreator(() => ``);
export const createESLintRule = ESLintUtils.RuleCreator(
(_ruleName) => `https://github.com/angular-eslint/angular-eslint`,
);

type RequiredParserServices = {
[k in keyof ParserServices]: Exclude<ParserServices[k], undefined>;
Expand Down

0 comments on commit 4c9b068

Please sign in to comment.