-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
38 lines (38 loc) · 977 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
{
"env": {
"es2021": true,
"node": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"header"
],
"rules": {
"header/header": [2, "line", [
" Copyright (c) WarnerMedia Direct, LLC. All rights reserved. Licensed under the MIT license.",
" See the LICENSE file for license information.",
"",
" Copyright 2012-2015, Yahoo Inc.",
" Copyrights licensed under the New BSD License. See the accompanying ThirdPartyNotices.txt file for terms."
]]
},
"overrides": [
{
"files": ["__tests__/**/*.js"],
"env": {
"jest": true
}
},
{
"files": ["assets/**/*.js"],
"env": {
"node": false,
"browser": true
}
}
]
}