You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if there is one yet. l We use 4 eslint plugins, and only 1 of the 4 (perhaps 2) have that support yet, so we couldn't even attempt it until then.
@ljharb how would you prefer eslint-config-airbnb to provide support for the new config format - by updating the existing exports to the new format (breaking change, the new format cannot be used from eslintrc config files) or by adding new, separate exports?
@ljharb The import plugin doesn't support it fully, but as far as I understand, including import/parsers in settings on your side as in import-js/eslint-plugin-import#2556 (comment) would resolve the main issue. import/no-unused-modules doesn't work, see the discussion here import-js/eslint-plugin-import#2829, but it is disabled in airbnb config anyway. Still, waiting until it figures out full support may be better.
Activity
ljharb commentedon Dec 27, 2022
I'm not sure if there is one yet. l We use 4 eslint plugins, and only 1 of the 4 (perhaps 2) have that support yet, so we couldn't even attempt it until then.
varunkumar commentedon Dec 29, 2022
I have used the
FlatCompatclass to use the existing config.mdjermanovic commentedon Jul 15, 2023
@ljharb how would you prefer
eslint-config-airbnbto provide support for the new config format - by updating the existing exports to the new format (breaking change, the new format cannot be used from eslintrc config files) or by adding new, separate exports?ljharb commentedon Jul 15, 2023
@mdjermanovic definitely not the breaking change. Can it support it yet tho if the dependent plugins don’t?
alexeyr-ci commentedon Dec 1, 2023
@ljharb The import plugin doesn't support it fully, but as far as I understand, including
import/parsersin settings on your side as in import-js/eslint-plugin-import#2556 (comment) would resolve the main issue.import/no-unused-modulesdoesn't work, see the discussion here import-js/eslint-plugin-import#2829, but it is disabled in airbnb config anyway. Still, waiting until it figures out full support may be better.