forked from teidesu/inugram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
26 lines (25 loc) · 744 Bytes
/
Copy patheslint.config.js
File metadata and controls
26 lines (25 loc) · 744 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
26
import antfu from '@antfu/eslint-config'
export default antfu({
ignores: [
'worktree',
'patches',
'src/res/assets',
],
typescript: true,
yaml: false,
rules: {
'antfu/no-top-level-await': 'off',
'curly': ['error', 'multi-line'],
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'style/quotes': ['error', 'single', { avoidEscape: true }],
'antfu/if-newline': 'off',
'style/max-statements-per-line': ['error', { max: 2 }],
'ts/no-redeclare': 'off',
'node/prefer-global/process': 'off',
'ts/no-empty-object-type': 'off',
'ts/no-use-before-define': 'off',
'no-console': 'off',
'node/prefer-global/buffer': 'off',
'e18e/prefer-static-regex': 'off',
},
})