forked from YeongCheon/ngx-pull-to-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint-to-eslint-config.log
24 lines (22 loc) · 1.31 KB
/
tslint-to-eslint-config.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
8 ESLint rules behave differently from their TSLint counterparts:
* arrow-body-style:
- ESLint will throw an error if the function body is multiline yet has a one-line return on it.
* no-console:
- Custom console methods, if they exist, will no longer be allowed.
* space-before-function-paren:
- Option "constructor" is not supported by ESLint.
- Option "method" is not supported by ESLint.
* no-underscore-dangle:
- Leading or trailing underscores (_) on identifiers will now be forbidden.
* no-invalid-this:
- Functions in methods will no longer be ignored.
* @typescript-eslint/no-unused-expressions:
- The TSLint optional config "allow-new" is the default ESLint behavior and will no longer be ignored.
* prefer-arrow/prefer-arrow-functions:
- ESLint does not support allowing standalone function declarations.
- ESLint does not support allowing named functions defined with the function keyword.
* eqeqeq:
- Option "smart" allows for comparing two literal values, evaluating the value of typeof and null comparisons.
2 rules are not known by tslint-to-eslint-config to have ESLint equivalents:
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "import-spacing".
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "whitespace".