Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

.eslintrc.cjs

15 lines397 Bytes

1const config = {
2 extends: ['plugin:react/recommended', 'plugin:react-hooks/recommended'],
3 parserOptions: {
4 tsconfigRootDir: __dirname,
5 project: './tsconfig.json',
6 },
7 rules: {
8 'react/display-name': 'off',
9 'react/jsx-key': ['error', { checkFragmentShorthand: true }],
10 'react/prop-types': 'off',
11 'react-hooks/exhaustive-deps': 'error',
12 },
14​
15module.exports = config