chore(eslint): add eslint to the project

This commit is contained in:
hansputera
2021-11-06 20:34:17 +07:00
parent ee851ce213
commit 5fbaf012eb
15 changed files with 1216 additions and 286 deletions

View File

@@ -8,10 +8,15 @@
"ow": "^0.28.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"@vercel/node": "^1.12.1",
"eslint": "^8.2.0",
"eslint-config-google": "^0.14.0",
"typescript": "^4.4.4"
},
"scripts": {
"build": "echo build"
"build": "echo build",
"lint": "eslint \"./lib/**/*.ts\" \"./types/*.ts\" \"./api/**/*.ts\" --fix"
}
}