-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy patheslint.config.mjs
More file actions
35 lines (34 loc) · 920 Bytes
/
Copy patheslint.config.mjs
File metadata and controls
35 lines (34 loc) · 920 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
27
28
29
30
31
32
33
34
35
import simon from '@antfu/eslint-config'
export default simon(
{
ignores: [
'**/**/*.d.ts',
// Don't lint Markdown files — they are docs, not source
'**/*.md',
'test',
'benchmark',
// demo templates use a lot of non-standard code and globals
'support/demo_template/**',
'scripts',
'docs',
],
},
{
rules: {
'no-console': 'off',
'ts/ban-types': 'off',
'jsdoc/require-returns-description': 'off',
'no-new-func': 'off',
'unicorn/no-new-array': 'off',
'jsdoc/require-returns-check': 'off',
'jsdoc/check-param-names': 'off',
'no-cond-assign': 'off',
'no-eval': 'off',
'antfu/no-import-dist': 'off',
'vue/require-toggle-inside-transition': 'off',
},
// keep other ignores in sync
ignores: ['**/fixtures', 'test', 'docs', '**/*.md', 'support/demo_template/**'],
},
{},
)