diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-23 02:58:35 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-23 02:58:35 +0800 |
commit | 15c199d5a23bcab229a4eab531c5ecc49e9f718b (patch) | |
tree | bbbe7364862ff1f88d0ad56a8e355b81ae9ac1e2 /packages/tslint-config/rules | |
parent | c579db1a7bec0b5fdec8d120121375224de46d5d (diff) | |
download | dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.gz dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.bz2 dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.lz dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.xz dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.tar.zst dexon-0x-contracts-15c199d5a23bcab229a4eab531c5ecc49e9f718b.zip |
Add `are` to boolean naming conventions
Diffstat (limited to 'packages/tslint-config/rules')
-rw-r--r-- | packages/tslint-config/rules/booleanNamingRule.ts | 2 |
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(', ')}`; |