|
|
@ -39,6 +39,7 @@ module.exports = {
|
|
|
|
plugins: [
|
|
|
|
plugins: [
|
|
|
|
'filenames',
|
|
|
|
'filenames',
|
|
|
|
'react',
|
|
|
|
'react',
|
|
|
|
|
|
|
|
'react-hooks',
|
|
|
|
'simple-import-sort',
|
|
|
|
'simple-import-sort',
|
|
|
|
'import'
|
|
|
|
'import'
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -308,7 +309,9 @@ module.exports = {
|
|
|
|
'react/react-in-jsx-scope': 2,
|
|
|
|
'react/react-in-jsx-scope': 2,
|
|
|
|
'react/self-closing-comp': 2,
|
|
|
|
'react/self-closing-comp': 2,
|
|
|
|
'react/sort-comp': 2,
|
|
|
|
'react/sort-comp': 2,
|
|
|
|
'react/jsx-wrap-multilines': 2
|
|
|
|
'react/jsx-wrap-multilines': 2,
|
|
|
|
|
|
|
|
'react-hooks/rules-of-hooks': 'error',
|
|
|
|
|
|
|
|
'react-hooks/exhaustive-deps': 'error'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|