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 e2d93c8 commit 9f4f82cCopy full SHA for 9f4f82c
eslint.config.js
@@ -1,5 +1,6 @@
1
import js from '@eslint/js';
2
import prettier from 'eslint-config-prettier';
3
+import prettierPlugin from 'eslint-plugin-prettier';
4
import react from 'eslint-plugin-react';
5
import reactHooks from 'eslint-plugin-react-hooks';
6
import globals from 'globals';
@@ -31,6 +32,7 @@ export default [
31
32
{
33
plugins: {
34
'react-hooks': reactHooks,
35
+ prettier: prettierPlugin,
36
},
37
rules: {
38
'react-hooks/rules-of-hooks': 'error',
0 commit comments