forked from staylor/react-helmet-async
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheslint.config.mjs
More file actions
24 lines (21 loc) · 572 Bytes
/
eslint.config.mjs
File metadata and controls
24 lines (21 loc) · 572 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig } from 'eslint/config';
import eslintConfigs from '@dr.pogodin/eslint-configs';
export default defineConfig([
{ ignores: ['build/'] },
eslintConfigs.configs.javascript,
eslintConfigs.configs.typescript,
eslintConfigs.configs.react,
{
extends: [eslintConfigs.configs.jest],
files: ['__tests__/**'],
},
{
files: ['config/jest/**', 'jest/**'],
rules: {
'import/no-extraneous-dependencies': ['error', {
devDependencies: true,
}],
},
},
]);