.eslintrc.cjs 430 B

1234567891011121314151617
  1. module.exports = {
  2. env: {
  3. browser: true,
  4. es2020: true
  5. },
  6. extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
  7. parser: '@typescript-eslint/parser',
  8. parserOptions: {
  9. ecmaVersion: 'latest',
  10. sourceType: 'module'
  11. },
  12. plugins: ['react-refresh'],
  13. rules: {
  14. 'react-refresh/only-export-components': 'warn',
  15. }
  16. };