forked from amplitude/Amplitude-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
26 lines (26 loc) · 758 Bytes
/
Copy path.eslintrc.json
File metadata and controls
26 lines (26 loc) · 758 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
{
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"plugins": ["prettier", "mocha", "@amplitude/eslint-plugin-amplitude"],
"env": { "es6": true, "browser": true, "node": true, "mocha": true },
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"rules": {
"prettier/prettier": "error",
"mocha/no-skipped-tests": "error",
"mocha/no-exclusive-tests": "error"
},
"globals": {
"BUILD_COMPAT_LOCAL_STORAGE": "readonly",
"BUILD_COMPAT_SNIPPET": "readonly",
"BUILD_COMPAT_2_0": "readonly",
"assert": "readonly",
"expect": "readonly",
"should": "readonly",
"define": "readonly",
"amplitude": "readonly",
"opera": "readonly",
"ActiveXObject": "readonly"
}
}