forked from openedx-unsupported/edx-analytics-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.es6-eslintrc.json
27 lines (27 loc) · 838 Bytes
/
.es6-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
{
"extends": "@edx/eslint-config",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true,
"plugins": ["@babel/plugin-syntax-dynamic-import"]
},
"plugins": [
"import"
],
"globals": {
"gettext": true, // added by django for i18n
"setFixtures": true, // added globally by jasmine-jquery
"sinon": true, // used for mocking
"requirejs": true
},
"settings": {
"import/resolver": "webpack"
},
"rules": {
"import/no-unresolved": ["error", {"amd": true}],
"global-require" : "off"
// global-require turned off due to https://github.com/eslint/eslint/issues/4812. Fixed in v3.1.1
// consider turning rule on after upgrading to ESLint 3.1.1
}
}