Open History to see the last commit
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 },
14}
15β
16module.exports = config