1 | module.exports = {
|
2 | extends: ['plugin:react/recommended', 'plugin:testing-library/react'],
|
3 | plugins: ['react', 'react-hooks'],
|
4 | rules: {
|
5 | 'react/prop-types': 'off',
|
6 | 'react-hooks/rules-of-hooks': 'error',
|
7 | 'react-hooks/exhaustive-deps': 'error',
|
8 | 'react/jsx-filename-extension': [2, { extensions: ['.tsx', '.jsx'] }],
|
9 | 'react/no-unescaped-entities': 0,
|
10 | },
|
11 | };
|