-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy patheslint.config.mjs
42 lines (41 loc) · 963 Bytes
/
eslint.config.mjs
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
import { default as svelteConfig } from '@dfinity/eslint-config-oisy-wallet/svelte';
import { default as vitestConfig } from '@dfinity/eslint-config-oisy-wallet/vitest';
export default [
...vitestConfig,
...svelteConfig,
{
rules: {
// TODO: re-enable this rule when it includes `expect` statements nested in callable functions.
'vitest/expect-expect': ['off']
}
},
{
ignores: [
'**/.DS_Store',
'**/node_modules',
'build',
'.svelte-kit',
'package',
'**/.env',
'**/.env.*',
'!**/.env.example',
'**/pnpm-lock.yaml',
'**/package-lock.json',
'**/yarn.lock',
'src/declarations/**/*',
'src/frontend/src/env/tokens/tokens.sns.json',
'**/playwright-report',
'**/coverage',
'src/declarations/**/*',
'src/tests/declarations/**/*',
'target/**/*',
'tmp/**/*'
]
},
{
ignores: [
'src/sputnik/resources/index.mjs',
'src/sputnik/src/js/apis/node/text_encoding/javy/text-encoding.js'
]
}
];