-
-
Notifications
You must be signed in to change notification settings - Fork 385
Expand file tree
/
Copy patheslint.config.js
More file actions
25 lines (24 loc) · 655 Bytes
/
eslint.config.js
File metadata and controls
25 lines (24 loc) · 655 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
25
import config from '@electerious/eslint-config'
import { defineConfig } from 'eslint/config'
import globals from 'globals'
export default defineConfig([
config,
{
languageOptions: {
globals: {
...globals.browser,
},
},
rules: {
'import-x/dynamic-import-chunkname': 0,
'import-x/no-named-as-default': 0,
'unicorn/filename-case': 0,
'unicorn/consistent-function-scoping': 0,
'unicorn/no-await-expression-member': 0,
'unicorn/no-anonymous-default-export': 0,
'unicorn/prefer-top-level-await': 0,
'unicorn/no-thenable': 0,
'unicorn/no-process-exit': 0,
},
},
])