forked from lorisleiva/solana-wallets-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
49 lines (47 loc) · 934 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
39
40
41
42
43
44
45
46
47
48
49
import antfu from '@antfu/eslint-config'
export default antfu(
{
stylistic: true,
formatters: true,
prettier: true,
unicorn: {
allRecommended: true,
},
regexp: {
overrides: {
'regexp/no-unused-capturing-group': 'off',
},
},
},
{
rules: {
// Vue specific rules
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
'unicorn/prefer-global-this': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/filename-case': 'off',
'unicorn/prefer-module': 'off',
'unicorn/import-style': [
'error',
{
styles: {
'path': {
named: true,
},
'node:path': {
named: true,
},
},
},
],
},
},
{
files: [
'packages/demo/**/*.vue',
],
rules: {
'no-alert': 'off',
},
},
)