forked from posva/pinia-colada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
38 lines (37 loc) · 882 Bytes
/
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
30
31
32
33
34
35
36
37
38
// @ts-check
import antfu from '@antfu/eslint-config'
export default antfu(
{
ignores: [
//
'**/*.ts.timestamp*',
],
rules: {
'symbol-description': 'off',
'node/prefer-global/process': 'off',
'no-control-regex': 'off',
'curly': ['error', 'multi-line'],
'antfu/if-newline': 'off',
'style/brace-style': ['error', '1tbs'],
'antfu/top-level-function': 'off',
'test/prefer-lowercase-title': 'off',
'style/yield-star-spacing': ['error', 'before'],
'style/arrow-parens': ['error', 'always'],
'no-console': 'warn',
'style/indent': 'off',
'style/indent-binary-ops': 'off',
},
},
{
files: ['playground/**/*'],
rules: {
'no-console': 'off',
},
},
{
files: ['docs/**/*', '!docs/.vitepress/**/*'],
rules: {
'import/order': ['off'],
},
},
)