From f7457fb9a4d668733eaa2c813c41203dd678583f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 14 Apr 2026 09:30:50 +0300 Subject: [PATCH] meta: detect react version and fine-grain files for eslint Signed-off-by: NotAShelf Change-Id: Iad7f3ee0e5e826f00c4c95874371bfcd6a6a6964 --- eslint.config.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 7816ea6..bf54789 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,6 +5,12 @@ export default [ ...tseslint.configs.recommended, eslintConfigPrettier, { + files: ['**/*.{ts,tsx}'], ignores: ['dist/', 'node_modules/', '.DS_Store', '*.md'], + settings: { + react: { + version: 'detect', + }, + }, }, ];