criticizer
Version:
Linting for Angular applications, following angular.io/styleguide.
14 lines (11 loc) • 461 B
text/typescript
import * as Lint from 'tslint';
import {UsePropertyDecorator} from './propertyDecoratorBase';
export class Rule extends UsePropertyDecorator {
constructor(ruleName: string, value: any, disabledIntervals: Lint.IDisabledInterval[]) {
super({
decoratorName: 'Output',
propertyName: 'outputs',
errorMessage: 'Use the @Output property decorator instead of the outputs property ($$05-12$$)'
}, ruleName, value, disabledIntervals);
}
}