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

.eslintrc.cjs

16 lines393 Bytes

1// @ts-check
2​
3/** @type {import('eslint').Linter.Config} */
4const config = {
5 extends: ['plugin:react/recommended', 'plugin:react-hooks/recommended'],
6 parserOptions: {
7 tsconfigRootDir: __dirname,
8 project: './tsconfig.json',
9 },
10 rules: {
11 'react/jsx-key': ['error', { checkFragmentShorthand: true }],
12 'react-hooks/exhaustive-deps': 'error',
13 },
15​
16module.exports = config