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

.eslintrc.cjs

13 lines333 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/jsx-key': ['error', { checkFragmentShorthand: true }],
9 'react-hooks/exhaustive-deps': 'error',
10 },
12​
13module.exports = config