# eslint.config.js · screen/last-signal

[View on GitCafe](https://git.cafe/screen/last-signal/blob/HEAD/eslint.config.js)

Repository: [screen/last-signal](https://git.cafe/screen/last-signal)

Visibility: public

Requested revision: HEAD

Commit: 1530c1654a4dfa51fea4c2f60f279d1a028cb71b

Blob: 1a887980c910d2811ff90d3608635cc378c0808e

Size: 837 bytes

[Immutable source](https://git.cafe/screen/last-signal/blob/1530c1654a4dfa51fea4c2f60f279d1a028cb71b/eslint.config.js?format=markdown)

```
import js from '@eslint/js';
import globals from 'globals';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  { ignores: ['dist', 'node_modules', '.agents', '.codex', '.cursor', '.gemini', '.bolt', 'reading Files', 'Refrences'] },
  {
    extends: [js.configs.recommended, ...tseslint.configs.recommended],
    files: ['**/*.{ts,tsx}'],
    languageOptions: {
      ecmaVersion: 2020,
      globals: globals.browser,
    },
    plugins: {
      'react-hooks': reactHooks,
      'react-refresh': reactRefresh,
    },
    rules: {
      ...reactHooks.configs.recommended.rules,
      'react-refresh/only-export-components': [
        'warn',
        { allowConstantExport: true },
      ],
    },
  }
);

```
