From 15c199d5a23bcab229a4eab531c5ecc49e9f718b Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 22 May 2018 11:58:35 -0700 Subject: Add `are` to boolean naming conventions --- packages/tslint-config/rules/booleanNamingRule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/tslint-config') diff --git a/packages/tslint-config/rules/booleanNamingRule.ts b/packages/tslint-config/rules/booleanNamingRule.ts index f673afc6a..a8e1dc390 100644 --- a/packages/tslint-config/rules/booleanNamingRule.ts +++ b/packages/tslint-config/rules/booleanNamingRule.ts @@ -2,7 +2,7 @@ import * as _ from 'lodash'; import * as Lint from 'tslint'; import * as ts from 'typescript'; -const VALID_BOOLEAN_PREFIXES = ['is', 'does', 'should', 'was', 'has', 'can', 'did', 'would']; +const VALID_BOOLEAN_PREFIXES = ['is', 'does', 'should', 'was', 'has', 'can', 'did', 'would', 'are']; export class Rule extends Lint.Rules.TypedRule { public static FAILURE_STRING = `Boolean variable names should begin with: ${VALID_BOOLEAN_PREFIXES.join(', ')}`; -- cgit