aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-23 02:58:35 +0800
committerFabio Berger <me@fabioberger.com>2018-05-23 02:58:35 +0800
commit15c199d5a23bcab229a4eab531c5ecc49e9f718b (patch)
treebbbe7364862ff1f88d0ad56a8e355b81ae9ac1e2
parentc579db1a7bec0b5fdec8d120121375224de46d5d (diff)
downloaddexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.gz
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.bz2
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.lz
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.xz
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.zst
dexon-sol-tools-15c199d5a23bcab229a4eab531c5ecc49e9f718b.zip
Add `are` to boolean naming conventions
-rw-r--r--packages/tslint-config/rules/booleanNamingRule.ts2
1 files changed, 1 insertions, 1 deletions
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(', ')}`;