coderaiser / putout

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
https://putout.cloudcmd.io/
MIT License
699 stars 40 forks source link

`eslint-plugin-putout` with ESLint flat config #219

Open abdul-alhasany opened 2 days ago

abdul-alhasany commented 2 days ago

Is the eslint-plugin-putout available for the new ESLint flat config?

I tried using it this way:

    ...compat.config({
        extends: 'plugin:putout/recommended',
        rules: {
            'putout/add-newlines-between-specifiers': 'warn',
            'putout/add-newline-before-return': 'warn',
            'poutout/multiple-properties-destructuring': 'warn',
        },
    }),

but did not have much success.

coderaiser commented 1 day ago

Sure, here is docs