module.exports = { extends: ['@evan-yang', 'plugin:astro/recommended'], rules: { 'no-console': 'off', 'react/display-name': 'off', 'react-hooks/rules-of-hooks': 'off', '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/no-unused-vars': 'warn', 'react/jsx-key': 'off', 'import/namespace': 'off', }, overrides: [ { files: ['*.astro'], parser: 'astro-eslint-parser', parserOptions: { parser: '@typescript-eslint/parser', extraFileExtensions: ['.astro'], }, rules: { 'no-mixed-spaces-and-tabs': ['error', 'smart-tabs'], }, }, { // Define the configuration for `