-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
29 lines (28 loc) · 1.01 KB
/
eslint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { ignores } from '@jjangga0214/eslint-config/helpers'
import javascript from '@jjangga0214/eslint-config/javascript'
import typescript from '@jjangga0214/eslint-config/typescript'
import jest from '@jjangga0214/eslint-config/jest'
export default [
{ ignores },
...javascript,
...typescript,
...jest,
{
files: ['workflows/**/*.{c,m,}{j,t}s{x,}', '**/haetae.config.{c,m,}{j,t}s'],
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
{
// TODO: remove this patch
// BUG: "parserPath or languageOptions.parser is required! (undefined:undefined) import/no-named-as-default"
// REF: https://github.com/import-js/eslint-plugin-import/issues/2556#issuecomment-1663038247
// When the [PR](https://github.com/import-js/eslint-plugin-import/pull/2829) is merged, we can remove this patch.
files: ['**/*.{c,m,}js{x,}'],
rules: {
'import/no-unresolved': 'off',
'import/no-named-as-default-member': 'off',
'import/no-named-as-default': 'off',
},
},
]