Add Promise global to jshintrc, ES6. Adds .eslint config

This commit is contained in:
Seyi Adebajo 2017-03-24 18:44:22 -07:00 committed by Mars Lan
parent 7aecbd659d
commit 5e91ceeda3
3 changed files with 19 additions and 2 deletions

17
.eslintrc.js Normal file
View 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
]
}
};

View File

@ -2,7 +2,7 @@
"predef": [
"document",
"window",
"-Promise"
"Promise"
],
"browser": true,
"boss": true,

View File

@ -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&reg;</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">