feat: Setup eslint and prettier

This commit is contained in:
Faruk AYDIN
2022-01-14 17:30:23 +03:00
committed by Ali BARIN
parent 6ad92b60e3
commit a831bf1673
7 changed files with 258 additions and 12 deletions

View File

@@ -5,14 +5,26 @@
"start": "lerna run --stream --scope=@*/{web,backend,docs} dev",
"start:web": "lerna run --stream --scope @*/web dev",
"start:backend": "lerna run --stream --scope @*/backend dev",
"lint": "eslint \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"",
"build:docs": "cd ./packages/docs && yarn install && yarn build"
},
"workspaces": {
"packages": ["packages/*"],
"nohoist": ["**/babel-loader", "**/webpack"]
"packages": [
"packages/*"
],
"nohoist": [
"**/babel-loader",
"**/webpack"
]
},
"devDependencies": {
"lerna": "^4.0.0"
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"lerna": "^4.0.0",
"prettier": "^2.5.1"
},
"publishConfig": {
"registry": "http://localhost:5000"