-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint-to-eslint-config.log
21 lines (19 loc) · 1.3 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
6 ESLint rules behave differently from their TSLint counterparts:
* no-console:
- Custom console methods, if they exist, will no longer be allowed.
* 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.
4 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 "use-host-property-decorator".
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "use-input-property-decorator".
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "use-life-cycle-interface".
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "use-output-property-decorator".