Open
Description
π₯ Missing Merger
tslint-to-eslint-config
version: X.X.X- ESLint version: X.X.X
CLI Output
β¨ 191 rules replaced with their ESLint equivalents. β¨
β 6 ESLint rules behave differently from their TSLint counterparts β
Check ./tslint-to-eslint-config.log for details.
β 1 error thrown. β
Check ./tslint-to-eslint-config.log for details.
π¦ 1 rule is obsolete and does not have an ESLint equivalent. π¦
Check ./tslint-to-eslint-config.log for details.
β Prettier plugins are missing from your configuration. β
We highly recommend running tslint-to-eslint-config --prettier to disable formatting ESLint rules.
See https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md#should-i-use-prettier.
β‘ 6 new packages are required for this ESLint configuration. β‘
npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-jsdoc eslint-plugin-prefer-arrow eslint-plugin-react --save-dev
β» Consider using --comments to replace TSLint comment directives in your source files. β»
β
All is well! β
File Output
6 ESLint rules behave differently from their TSLint counterparts:
* 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.
* no-underscore-dangle:
- Leading and trailing underscores (_) on identifiers will now be ignored.
* padded-blocks:
- ESLint's padded-blocks rule also bans a blank line before a closing brace.
Error: multiple output react/jsx-curly-spacing 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. Thanks!
* import-destructuring-spacing