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
import { formatDuration } from "date-fns"; import { enGB, de, fr, it, es } from "date-fns/locale";
This code triggers import/no-duplicates error although date-fns and date-fns/locale are different modules so these imports cannot be combined.
import/no-duplicates
date-fns
date-fns/locale
The text was updated successfully, but these errors were encountered:
Bump for this
import { format, isValid, parseISO } from 'date-fns'; import ruLocale from 'date-fns/locale/ru';
"eslint-plugin-import": "2.25.4"
Sorry, something went wrong.
duplicate of #1479
No branches or pull requests
This code triggers
import/no-duplicates
error althoughdate-fns
anddate-fns/locale
are different modules so these imports cannot be combined.The text was updated successfully, but these errors were encountered: