This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 889
/
test.ts.lint
55 lines (39 loc) · 1.53 KB
/
test.ts.lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { Observable } from 'rxjs';
~~~~ [0]
import { Observable } from 'rxjs/Observable';
import rxjs = require('rxjs');
~~~~ [0]
import Observable = require('rxjs/Observable');
import * as rxjs from "rxjs";
~~~~ [0]
// non-static imports cannot be checked
import {Observable} from rxjs;
import forOwn = require(lodash);
import * as notBlacklisted from "not-blacklisted";
export * from 'rxjs';
~~~~ [0]
export { default } from "dummy";
~~~~~~~~~~~ [3]
export * from "lodash";
~~~~~~ [1]
import * as lodash from "lodash";
~~~~~~ [1]
import { difference } from "lodash";
import { pull, difference } from "lodash";
~~~~~~~~~~~~~~~~~~~~ [2]
import lodash, { pull } from "lodash";
~~~~~~~~~~~~~~~~ [2]
import { pull as notPull } from "lodash";
~~~~~~~~~~~~~~~~~~~ [2]
import test from "dummy";
~~~~ [3]
import {myFunc} from './my.temp';
~~~~~~~~~ [4]
import {myFunc} from './my.tmp';
~~~~~~~~ [5]
[0]: Importing this module is blacklisted. Try importing a submodule instead.
[1]: Some named exports from this module are blacklisted for importing (or re-exporting). Import/re-export only the specific values you want, instead of the whole module.
[2]: The export "pull" is blacklisted.
[3]: Importing (or re-exporting) the default export is blacklisted.
[4]: This import is blacklisted by /.*\.temp$/
[5]: This import is blacklisted by /.*\.tmp$/