We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c59f7 commit a508678Copy full SHA for a508678
packages/eslint-plugin-putout/README.md
@@ -50,6 +50,22 @@ import {recommended} from 'eslint-plugin-putout';
50
export default recommended;
51
```
52
53
+Or with [`defineConfig`](https://eslint.org/blog/2025/03/flat-config-extends-define-config-global-ignores/):
54
+
55
+```js
56
+import {defineConfig} from 'eslint/config';
57
+import putout from 'eslint-plugin-putout';
58
59
+export default defineConfig({
60
+ plugins: {
61
+ putout,
62
+ },
63
+ extends: [
64
+ "putout/recommended",
65
+ ]
66
+});
67
+```
68
69
Then configure the rules you want to use under the rules section.
70
71
```json
0 commit comments