-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy patheslint.config.ts
More file actions
53 lines (52 loc) · 1.55 KB
/
Copy patheslint.config.ts
File metadata and controls
53 lines (52 loc) · 1.55 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import antfu, { GLOB_MARKDOWN } from '@antfu/eslint-config'
export default await antfu(
{
yaml: false,
ignores: [
'docs/superpowers/**',
'skills/eventa/SKILL.md',
],
rules: {
'antfu/import-dedupe': 'error',
'import/order': 'off',
'no-console': ['error', { allow: ['warn', 'error', 'info'] }],
'style/padding-line-between-statements': 'error',
'vue/prefer-separate-static-class': 'off',
'yaml/plain-scalar': 'off',
'markdown/require-alt-text': 'off',
'perfectionist/sort-imports': [
'error',
{
groups: [
'type-builtin',
'type-import',
'type-internal',
['type-parent', 'type-sibling', 'type-index'],
'default-value-builtin',
'named-value-builtin',
'value-builtin',
'default-value-external',
'named-value-external',
'value-external',
'default-value-internal',
'named-value-internal',
'value-internal',
['default-value-parent', 'default-value-sibling', 'default-value-index'],
['named-value-parent', 'named-value-sibling', 'named-value-index'],
['wildcard-value-parent', 'wildcard-value-sibling', 'wildcard-value-index'],
['value-parent', 'value-sibling', 'value-index'],
'side-effect',
'style',
],
newlinesBetween: 1,
},
],
},
},
{
ignores: [GLOB_MARKDOWN],
rules: {
'no-console': 'off',
},
},
)