repo_description: The frontend for egghead.io.
repo_topics: cypress egghead jest mdx nextjs react tailwindcss typescript
code: module.exports = {
    root: true,
    env: {
      browser: true,
      node: true,
      es6: true,
    },
    parserOptions: {ecmaVersion: 8},
    ignorePatterns: ['node_modules/*', '.next/*', '.out/*', '!.prettierrc.js'], // We don't want to lint generated files nor node_modules, but we want to lint .prettierrc.js (ignored by default by eslint)
    extends: ['react-app', 'plugin:storybook/recommended'],
    plugins: ['jsx-a11y', '@asbjorn/groq'],
    rules: {
      'react-hooks/rules-of-hooks': 'error',
      'react-hooks/exhaustive-deps': 'warn',
      'react/no-unescaped-entities': 'off',
      'react/prop-types': 'off', // We will use TypeScript's types for component props instead
      'jsx-a11y/anchor-is-valid': 'off', // This rule is not compatible with Next.js's <Link /> components
    },
    parser: '@typescript-eslint/parser',
    settings: {react: {version: 'detect'}},
  }
  