Install eslint
parent
b3481c3f73
commit
b1abecc262
|
@ -0,0 +1,2 @@
|
||||||
|
docs
|
||||||
|
ode_modules
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "airbnb-base"
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
|
@ -12,14 +12,20 @@
|
||||||
"passport": "^0.4.0"
|
"passport": "^0.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"apidoc": "^0.17.7"
|
"apidoc": "^0.17.7",
|
||||||
|
"eslint": "^5.9.0",
|
||||||
|
"eslint-config-airbnb": "^17.1.0",
|
||||||
|
"eslint-config-airbnb-base": "^13.1.0",
|
||||||
|
"eslint-plugin-import": "^2.14.0",
|
||||||
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
||||||
|
"eslint-plugin-react": "^7.11.1"
|
||||||
},
|
},
|
||||||
"apidoc": {
|
"apidoc": {
|
||||||
"title": "Mooc API"
|
"title": "Mooc API"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"doc": "apidoc -i ./app/routes -o ./docs",
|
"doc": "apidoc -i ./app/routes -o ./docs",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "eslint ./"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue