You-Dont-Need-Lodash-Underscore icon indicating copy to clipboard operation
You-Dont-Need-Lodash-Underscore copied to clipboard

Support eslint flat config

Open peachest opened this issue 11 months ago • 3 comments

Currently this project is not support eslint's new flat config feature. Is there any plan?

peachest avatar Mar 21 '24 12:03 peachest

As a temporary solution the following seems to work:

import youDontNeedLodashUnderscorePlugin from 'eslint-plugin-you-dont-need-lodash-underscore';
import { fixupPluginRules } from '@eslint/compat';
        ...
        plugins: {
            'you-dont-need-lodash-underscore': fixupPluginRules(youDontNeedLodashUnderscorePlugin)
        },
        ...

KristjanTammekivi avatar Jun 18 '24 13:06 KristjanTammekivi

@KristjanTammekivi does this work for you?

mickbut-ler avatar Sep 24 '24 08:09 mickbut-ler

During testing months ago yes, but I haven't merged it yet because one specific rule in eslint-plugin-import still doesn't work

KristjanTammekivi avatar Sep 24 '24 08:09 KristjanTammekivi