generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
eslint.config.js
38 lines (37 loc) · 968 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
import antfu from '@antfu/eslint-config'
export default antfu(
{
rules: {
'yaml/no-empty-document': 'off',
'curly': ['error', 'multi-line', 'consistent'],
'quotes': ['error', 'single'],
'ts/ban-ts-comment': 'off',
'style/max-statements-per-line': 'off',
'import/order': 'warn',
'ts/prefer-ts-expect-error': 'off',
'no-console': 'off',
'ts/ban-types': 'off',
'vue/one-component-per-file': 'off',
'jsdoc/require-param': 'off',
'jsdoc/require-returns': 'off',
'ts/no-namespace': 'off',
'new-cap': 'off',
'vue/require-explicit-emits': 'off',
},
},
{
ignores: [
'README.md',
'tests/tmp/svelte-plugin.js',
'**/*.md',
'**/examples/**',
'**/package.json',
'packages/pigments/output/',
'**/tests/fixtures/',
'**/tests/tmp/',
'.vscode',
'**/grammars/*.tmLanguage.js',
'packages/outputs/',
],
},
)