eslint-plugin-lodash icon indicating copy to clipboard operation
eslint-plugin-lodash copied to clipboard

Support ESLint 8.x

Open MichaelDeBoey opened this issue 4 years ago • 2 comments

ESLint v8.0.0 is released 🎉

It would be awesome to have official ESLint 8 support. 👊 I'm happy to help where I can of course 🙂

MichaelDeBoey avatar Oct 10 '21 19:10 MichaelDeBoey

ESLint 9.x is now out as well.

csvan avatar May 02 '24 19:05 csvan

I found a simple workaround for using eslint-plugin-lodash with ESLint 9's Flat configs:

import js from "@eslint/js";
import lodashPlugin from 'eslint-plugin-lodash';

const lodashConfig = lodashPlugin.configs.canonical;
lodashConfig.plugins = {lodash: lodashPlugin};  // Compatibility with Flat configs

export default [
  js.configs.recommended,  // Optional: eslint's recommended rules
  lodashConfig
];

snoack avatar Sep 24 '24 15:09 snoack