1module.exports = {
2 root: true,
3 env: { browser: true, es2020: true },
4 extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
5 ignorePatterns: ['dist', '.eslintrc.cjs'],
6 parser: '@typescript-eslint/parser',
7 plugins: ['eslint-plugin-react-compiler', 'react-refresh'],
8 rules: {
9 'react-compiler/react-compiler': "off",
10 '@typescript-eslint/unused-disable-directives': ['off'],
11 '@typescript-eslint/ban-ts-comment': ['off'],
12 '@typescript-eslint/no-explicit-any': ['off'],
13 'react-refresh/only-export-components': ['off'],
14 },
15};