diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-30 01:18:19 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-30 01:18:19 +0900 |
| commit | 677ed40b409d1b05278ddfbaa525e676dacd73d9 (patch) | |
| tree | d87d6d3a6033905913ae6220ac6a66efa1f788c3 /package.json | |
| parent | Update pull_request_template.md (diff) | |
| download | misskey-677ed40b409d1b05278ddfbaa525e676dacd73d9.tar.gz misskey-677ed40b409d1b05278ddfbaa525e676dacd73d9.tar.bz2 misskey-677ed40b409d1b05278ddfbaa525e676dacd73d9.zip | |
introduce eslint
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package.json b/package.json index f33dc23613..157124c143 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "npm run tsc", "tsc": "tsc", "tsd": "tsd", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "jest": "jest --coverage --detectOpenHandles", "test": "npm run jest && npm run tsd" }, @@ -18,6 +19,9 @@ "devDependencies": { "@types/jest": "^26.0.23", "@types/node": "16.0.0", + "@typescript-eslint/eslint-plugin": "4.28.5", + "@typescript-eslint/parser": "4.28.5", + "eslint": "7.31.0", "jest": "^27.0.6", "jest-fetch-mock": "^3.0.3", "jest-websocket-mock": "^2.2.1", |