diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
commit | 9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch) | |
tree | 3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/tslint-config/rules/customNoMagicNumbersRule.ts | |
parent | 70858603ed37de24ae47978a191b3f188f450182 (diff) | |
download | dexon-sol-tools-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz dexon-sol-tools-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst dexon-sol-tools-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip |
Try enabling no-unused-variable...
Diffstat (limited to 'packages/tslint-config/rules/customNoMagicNumbersRule.ts')
-rw-r--r-- | packages/tslint-config/rules/customNoMagicNumbersRule.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/tslint-config/rules/customNoMagicNumbersRule.ts b/packages/tslint-config/rules/customNoMagicNumbersRule.ts index e358221eb..0a565b2e6 100644 --- a/packages/tslint-config/rules/customNoMagicNumbersRule.ts +++ b/packages/tslint-config/rules/customNoMagicNumbersRule.ts @@ -2,6 +2,7 @@ import * as Lint from 'tslint'; import { isPrefixUnaryExpression } from 'tsutils'; import * as ts from 'typescript'; +// tslint:disable:no-unnecessary-type-assertion /** * A modified version of the no-magic-numbers rule that allows for magic numbers * when instantiating a BigNumber instance. @@ -74,3 +75,4 @@ class CustomNoMagicNumbersWalker extends Lint.AbstractWalker<Set<string>> { } // tslint:enable:no-non-null-assertion } +// tslint:enable:no-unnecessary-type-assertion |