-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
29 lines (29 loc) · 904 Bytes
/
.eslintrc.json
File metadata and controls
29 lines (29 loc) · 904 Bytes
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
{
"env": {
"browser": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"extends": ["airbnb/hooks", "plugin:@typescript-eslint/recommended", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"plugins": ["prettier", "@typescript-eslint"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018,
"ecmaFeatures": {"jsx": true}
},
"rules": {
"prettier/prettier": "error"
},
"settings": {
"react": {
"version": "detect" // React version. "detect" automatically picks the version you have installed.
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
// default to latest and warns if missing
// It will default to "detect" in the future
}
}
}