aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTing Shu Lin <[email protected]>2020-08-01 01:02:45 +0900
committerGitHub <[email protected]>2020-08-01 01:02:45 +0900
commit7ab3d045e530ca72d9dabd067123b8854456c706 (patch)
tree8e93cf823843ea1e5e6f08ced0c11fe43e29579d /package.json
parentCreate LICENSE (diff)
downloadholo-schedule-7ab3d045e530ca72d9dabd067123b8854456c706.tar.xz
holo-schedule-7ab3d045e530ca72d9dabd067123b8854456c706.zip
Add ESLint (#1)
* add eslint * eslint init * add lint command * update eslint rules * eslint auto-fix
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/package.json b/package.json
index 1192433..adbd0b8 100644
--- a/package.json
+++ b/package.json
@@ -15,10 +15,19 @@
"devDependencies": {
"@types/jsdom": "^16.2.3",
"@types/node": "^14.0.27",
+ "@typescript-eslint/eslint-plugin": "^3.7.1",
+ "@typescript-eslint/parser": "^3.7.1",
+ "eslint": "^7.5.0",
+ "eslint-config-standard": "^14.1.1",
+ "eslint-plugin-import": "^2.22.0",
+ "eslint-plugin-node": "^11.1.0",
+ "eslint-plugin-promise": "^4.2.1",
+ "eslint-plugin-standard": "^4.0.1",
"typescript": "^3.9.7"
},
"scripts": {
- "build": "tsc"
+ "build": "tsc",
+ "lint": "eslint src/**"
},
"dependencies": {
"jsdom": "^16.3.0"