Skip to content

Commit

Permalink
Fix: Add missing Category import in rule template
Browse files Browse the repository at this point in the history
  • Loading branch information
alrra committed Nov 20, 2017
1 parent 5d7203e commit c382d87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/cli/rules/templates/core-rule/rule-script.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview {{description}}
*/

import { Category } from '../../enums/category';
import { RuleContext } from '../../rule-context';
// The list of types depends on the events you want to capture.
import { IRule, IRuleBuilder, {{events}} } from '../../types';
Expand Down
1 change: 1 addition & 0 deletions tests/lib/cli/rules/fixtures/new-quotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview This is a \`description\` that contains 'single quote' and "double qutoes"
*/

import { Category } from '../../enums/category';
import { RuleContext } from '../../rule-context';
// The list of types depends on the events you want to capture.
import { IRule, IRuleBuilder, IFetchStart, IFetchEnd, IFetchError } from '../../types';
Expand Down
1 change: 1 addition & 0 deletions tests/lib/cli/rules/fixtures/new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview An important new rule
*/

import { Category } from '../../enums/category';
import { RuleContext } from '../../rule-context';
// The list of types depends on the events you want to capture.
import { IRule, IRuleBuilder, IFetchStart, IFetchEnd, IFetchError } from '../../types';
Expand Down

0 comments on commit c382d87

Please sign in to comment.