-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint-to-eslint-config.log
24 lines (21 loc) · 1.42 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
6 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.
* @typescript-eslint/no-unused-expressions:
- The TSLint optional config "allow-new" is the default ESLint behavior and will no longer be ignored.
* brace-style:
- ESLint's brace-style will check all tokens.
* eqeqeq:
- Option "smart" allows for comparing two literal values, evaluating the value of typeof and null comparisons.
* no-underscore-dangle:
- Leading or trailing underscores (_) on identifiers will now be forbidden.
6 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 "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".
* tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "whitespace".
* angular-whitespace