mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 18:07:57 +00:00
Add Promise global to jshintrc, ES6. Adds .eslint config
This commit is contained in:
parent
7aecbd659d
commit
5e91ceeda3
17
.eslintrc.js
Normal file
17
.eslintrc.js
Normal file
@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"embertest": true
|
||||
},
|
||||
"rules": {
|
||||
"no-implicit-globals": [
|
||||
1
|
||||
]
|
||||
}
|
||||
};
|
||||
@ -2,7 +2,7 @@
|
||||
"predef": [
|
||||
"document",
|
||||
"window",
|
||||
"-Promise"
|
||||
"Promise"
|
||||
],
|
||||
"browser": true,
|
||||
"boss": true,
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>WhereHows by LinkedIn</title>
|
||||
<title>WhereHows by LinkedIn®</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user