-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
42 lines (42 loc) · 1001 Bytes
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"@typescript-eslint/eslint-plugin",
"header"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"root": true,
"env": {
"node": true,
"jest": true,
"browser": true
},
"ignorePatterns": [
"**/packages/**/dist/**",
"/test/jest-setup.ts"
],
"rules": {
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"header/header": [
2,
"line",
[
{
"pattern": " Copyright \\d{4}(-\\d{4})? SubQuery Pte Ltd authors & contributors",
"template": " Copyright 2020-2024 SubQuery Pte Ltd authors & contributors"
},
" SPDX-License-Identifier: Apache-2.0"
],
2
]
}
}