Skip to content

Commit

Permalink
fix: cannot find rules (#511)
Browse files Browse the repository at this point in the history
Add `rulesDirectory` so that `tslint` can resolve the rules directory
  • Loading branch information
alan-agius4 authored and mgechev committed Feb 8, 2018
1 parent f32295f commit 7b76dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ export { Rule as UseViewEncapsulationRule } from './useViewEncapsulationRule';
export { Rule as TemplatesNoNegatedAsync } from './templatesNoNegatedAsyncRule';
export { Rule as TrackByFunctionRule } from './trackByFunctionRule';
export * from './angular/config';

// this file exists for tslint to resolve the rules directory
export const rulesDirectory = '.';

0 comments on commit 7b76dfa

Please sign in to comment.