Newer
Older
module.exports = {
env: {
commonjs: true,
es6: true,
node: true,
},
parserOptions: {
ecmaVersion: 2018,
},
plugins: ['prettier', 'react-hooks'],
extends: 'react-app',
rules: {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
}