UNPKG
tslint-etc
Version:
latest (1.13.10)
rc (1.0.0-rc.1)
1.13.10
1.13.9
1.13.8
1.13.7
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.1
1.11.0
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
1.0.0-rc.1
1.0.0-rc.0
More rules for TSLint
github.com/cartant/tslint-etc
cartant/tslint-etc
tslint-etc
/
dist
/
rules
/
noEnumRule.d.ts
8 lines
(7 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
*
as
Lint
from
"tslint"
;
import
*
as
ts
from
"typescript"
;
export
declare
class
Rule
extends
Lint.Rules.AbstractRule
{
static
metadata
:
Lint
.
IRuleMetadata
;
static
FAILURE_STRING
:
string
;
apply
(
sourceFile
: ts.
SourceFile
):
Lint
.
RuleFailure
[]; }