Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
416 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * support to use `import * as rule form 'eslint/lib/rules/no-unused-expressions'`
|
---|
3 | * it would be very verbose and redundant to declare all rules files
|
---|
4 | */
|
---|
5 | // tslint:disable-next-line: no-single-declare-module no-declare-current-package
|
---|
6 | declare module "eslint/lib/rules/*" {
|
---|
7 | // tslint:disable-next-line: no-self-import
|
---|
8 | import { Rule } from "eslint";
|
---|
9 | const Rule: Rule.RuleModule;
|
---|
10 | export = Rule;
|
---|
11 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.