We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-duplicates
With latest version of eslint-plugin-import: 2.29.0 and ESLint rule 'import/no-duplicates': ['error', { 'prefer-inline': true }]
eslint-plugin-import
2.29.0
'import/no-duplicates': ['error', { 'prefer-inline': true }]
Following TypeScript code triggers no-duplicates error:
import type Highcharts from 'highcharts' import { type SankeyNodeObject } from 'highcharts'
Expected:
no error.
Similar issue fixed in the past:
The text was updated successfully, but these errors were encountered:
Why would you expect no error? Those can be combined.
Sorry, something went wrong.
I apologize for any inconvenience caused. I misinterpreted the prefer-inline options during testing. Therefore, this issue is not valid.
prefer-inline
No branches or pull requests
With latest version of
eslint-plugin-import
:2.29.0
and ESLint rule
'import/no-duplicates': ['error', { 'prefer-inline': true }]
Following TypeScript code triggers
no-duplicates
error:Expected:
no error.
Reference
Similar issue fixed in the past:
no-duplicates
false positive and autofix creates a syntax error #2114The text was updated successfully, but these errors were encountered: