Skip to content

Commit 7b76dfa

Browse files
alan-agius4mgechev
authored andcommitted
fix: cannot find rules (#511)
Add `rulesDirectory` so that `tslint` can resolve the rules directory
1 parent f32295f commit 7b76dfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ export { Rule as UseViewEncapsulationRule } from './useViewEncapsulationRule';
2828
export { Rule as TemplatesNoNegatedAsync } from './templatesNoNegatedAsyncRule';
2929
export { Rule as TrackByFunctionRule } from './trackByFunctionRule';
3030
export * from './angular/config';
31+
32+
// this file exists for tslint to resolve the rules directory
33+
export const rulesDirectory = '.';

0 commit comments

Comments
 (0)