forked from nasa/earthdata-download
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (37 loc) · 972 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
{
// Let eslint know were working as a browser to allow the standard globals (document, window, etc.)
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"requireConfigFile": false
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-unresolved.md
// If you're using a module bundler other than Node or Webpack, you may end up with a lot of false positive reports of missing dependencies.
// We are using Vite, and it is giving incorrect results for .ts files
"import/no-unresolved": "off"
},
"extends": [
"@edsc"
],
// Define version settings
"settings": {
"react": {
"pragma": "React",
"version": "18.0.28"
}
}
}