-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy patheslint.config.js
More file actions
26 lines (23 loc) · 830 Bytes
/
Copy patheslint.config.js
File metadata and controls
26 lines (23 loc) · 830 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'
import { eslintIgnoreDefaults, eslintRulesDefaults } from 'zeed/eslint'
export default antfu(
{
typescript: true,
vue: true,
regexp: false,
ignores: [
...eslintIgnoreDefaults(),
'docs', 'dist', '**/dist/**', 'node_modules', '**/node_modules/**', 'build', '**/build/**', 'tmp', '**/tmp/**', 'demos', '**/demos/**', 'coverage', '**/coverage/**', '_archive', '**/_archive/**', '*.spec.*', '**/*.spec.*/**', 'vitest.config.ts', '**/vitest.config.ts/**', '*.md', '**/*.md/**', '*.yml', '**/*.yml/**',
],
},
{},
{
rules: {
...eslintRulesDefaults(),
'regexp/*': 'off',
'regexp/confusing-quantifier': 'off',
'antfu/consistent-list-newline': 'off',
'eslint-disable-unused-imports/no-unused-imports': 'off',
},
},
)