mirror of
https://github.com/NotAShelf/nix-evaluator-stats.git
synced 2026-04-27 04:17:36 +00:00
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:
parent
5af2457177
commit
f7457fb9a4
1 changed files with 6 additions and 0 deletions
|
|
@ -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',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue