meta: detect react version and fine-grain files for eslint

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iad7f3ee0e5e826f00c4c95874371bfcd6a6a6964
This commit is contained in:
raf 2026-04-14 09:30:50 +03:00
commit f7457fb9a4
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -5,6 +5,12 @@ export default [
...tseslint.configs.recommended, ...tseslint.configs.recommended,
eslintConfigPrettier, eslintConfigPrettier,
{ {
files: ['**/*.{ts,tsx}'],
ignores: ['dist/', 'node_modules/', '.DS_Store', '*.md'], ignores: ['dist/', 'node_modules/', '.DS_Store', '*.md'],
settings: {
react: {
version: 'detect',
},
},
}, },
]; ];