mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(tools): add eslint and prettier (#19)
This commit is contained in:
committed by
mrugesh mohapatra
parent
37c113b5d3
commit
00e5cf247e
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none"
|
||||
}
|
||||
Generated
+1341
File diff suppressed because it is too large
Load Diff
+7
-2
@@ -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