forked from togovar/togovar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
44 lines (43 loc) · 984 Bytes
/
.eslintrc.json
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
{
"extends": ["eslint:recommended", "prettier"],
"env": {
"es6": true,
"browser": true,
"jquery": true,
"node": true
},
"rules": {
"no-console": [
"error",
{
"allow": ["log", "warn", "error"]
}
],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
]
},
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"parser": "@typescript-eslint/parser",
"plugins": "@typescript-eslint",
// "parser": "@babel/eslint-parser",
// "parserOptions": {
// "ecmaVersion": 2020,
// "sourceType": "module"
// },
"globals": {
"TOGOVAR_FRONTEND_REFERENCE": "readonly",
"TOGOVAR_FRONTEND_API_URL": "readonly",
"TOGOVAR_STANZA_SPARQL_URL": "readonly",
"TOGOVAR_STANZA_SPARQLIST_URL": "readonly",
"TOGOVAR_STANZA_SEARCH_API_URL": "readonly",
"TOGOVAR_STANZA_JBROWSE_URL": "readonly",
"TOGOVAR_FRONTEND_STANZA_URL": "readonly"
}
}