feat(tools): add eslint and prettier (#19)
This commit is contained in:
committed by
mrugesh mohapatra
parent
37c113b5d3
commit
00e5cf247e
5
.prettierrc
Normal file
5
.prettierrc
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none"
|
||||
}
|
1341
package-lock.json
generated
1341
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,9 +4,14 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"bootstrap": "lerna bootstrap",
|
||||
"postinstall": "npm run bootstrap"
|
||||
"postinstall": "npm run bootstrap",
|
||||
"format": "prettier --write es5 './**/*.{js,json}' && npm run lint",
|
||||
"lint": "eslint ./**/*.js --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lerna": "^3.5.1"
|
||||
"eslint": "^5.9.0",
|
||||
"eslint-config-freecodecamp": "^1.1.1",
|
||||
"lerna": "^3.5.1",
|
||||
"prettier": "^1.15.2"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user