β¨ 92 rules replaced with their ESLint equivalents. β¨
β 7 ESLint rules behave differently from their TSLint counterparts β
* camelcase:
- Leading undescores in variable names will now be ignored.
* no-underscore-dangle:
- Leading and trailing underscores (_) on identifiers will now be ignored.
* no-invalid-this:
- Functions in methods will no longer be ignored.
* 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.
* no-redeclare:
- ESLint does not support check-parameters.
β 1 error thrown. β
Check ./tslint-to-eslint-config.log for details.
β 5 rules do not yet have ESLint equivalents β
See generated log file; defaulting to eslint-plugin-tslint for these rules.
β‘ 3 packages are required for new ESLint rules. β‘
prefer-arrow
import
eslint-plugin-import
β All is well! β
File Output
tslint-to-eslint-config.log
Error: multiple output @typescript-eslint/consistent-type-assertions ESLint rule options were generated, but tslint-to-eslint-config doesn't have "merger" logic to deal with this.
Please file an issue at https://github.com/typescript-eslint/tslint-to-eslint-config/issues/new?template=missing_merger.md π
[33mtslint-to-eslint-config does not know the ESLint equivalent for TSLint's "jsdoc-format"[39m
[33mtslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-reference-import"[39m
[33mtslint-to-eslint-config does not know the ESLint equivalent for TSLint's "object-literal-sort-keys"[39m
[33mtslint-to-eslint-config does not know the ESLint equivalent for TSLint's "prefer-conditional-expression"[39m
[33mtslint-to-eslint-config does not know the ESLint equivalent for TSLint's "prettier"[39m
[33m[39m
π₯ Missing Merger
tslint-to-eslint-config
version: ?@typescript-eslint/eslint-plugin
version: 2.26.0I'm following https://code.visualstudio.com/api/advanced-topics/tslint-eslint-migration and encountered the missing merger issue. I'm unclear on what the next steps are regarding this specific issue is, but reporting the issue as requested in the log output.
CLI Output
File Output
tslint-to-eslint-config.log
Reproduction
tsconfig.json
tsconfig.base.json
.prettierrc