Skip to content

Commit d80278f

Browse files
committed
Set up linting using ESLint and standardjs
1 parent 8b77f53 commit d80278f

File tree

11 files changed

+1149
-251
lines changed

11 files changed

+1149
-251
lines changed

.eslintrc.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"commonjs": true
6+
},
7+
"extends": [
8+
"standard",
9+
"standard-react",
10+
"eslint:recommended",
11+
"plugin:react/recommended",
12+
"plugin:flowtype/recommended"
13+
],
14+
"globals": {
15+
"Atomics": "readonly",
16+
"SharedArrayBuffer": "readonly"
17+
},
18+
"parserOptions": {
19+
"ecmaFeatures": {
20+
"jsx": true
21+
},
22+
"ecmaVersion": 2018,
23+
"sourceType": "module"
24+
},
25+
"plugins": [
26+
"react",
27+
"flowtype"
28+
],
29+
"rules": {
30+
"react/prop-types": 0,
31+
"no-console": "off"
32+
}
33+
}

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Frontend coding challenge
1+
[![JavaScript Style Guide](https://img.shields.io/badge/Success-brightgreen.svg?style=flat-square&for-the-badge&logo=Verizon)](https://github.com/Azghour-Saad/frontend-coding-challenge) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
2+
# Front-end coding challenge
23

34
## Idea of the App
45

@@ -68,4 +69,4 @@ npm start
6869
```
6970

7071

71-
<b>Finnaly, The project will be available at : </b> **http://localhost:3000/ to view it in the browser.**
72+
<b>Finnaly, The project will be available at : </b> **http://localhost:3000 to view it in the browser.**

0 commit comments

Comments
 (0)