Skip to content

Commit

Permalink
Merge pull request #31 from GSG-G7/eslint
Browse files Browse the repository at this point in the history
Eslint
  • Loading branch information
fares98 authored Jul 31, 2019
2 parents 9b3f228 + b4e9a59 commit 93ec7f3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
},
"homepage": "https://github.com/GSG-G7/project5#readme",
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.18.2",
"nodemon": "^1.19.1",
"supertest": "^4.0.2",
"tap-spec": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>project 5</title>
</head>
<body>
<form id='search_form'>
<form id='search_form' autocomplete="off">
<input type="text" name="input" id="search__input" value="" placeholder="enter" aria-label="a">
<input type="submit" name="button" id ="search__button" aria-label="b">
</form>
Expand Down

0 comments on commit 93ec7f3

Please sign in to comment.