From f28df7991359f106f45e98193e864a89ae17afef Mon Sep 17 00:00:00 2001 From: Kry9toN Date: Sat, 23 Jan 2021 13:29:28 +0700 Subject: [PATCH] add eslint command --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 82307d1..c86fa9c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "start": "node start", "compile": "tsc --build tsconfig.json", "changelog": "auto-changelog -p && git add CHANGELOG.md", - "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it" + "release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it", + "lint": "eslint . --ignore-path .gitignore --ext .ts --cache --cache-location .cache/eslintcache", + "lint:fix": "eslint . --ignore-path .gitignore --ext .ts --fix --cache --cache-location .cache/eslintcache" }, "author": "KryPtoN", "repository": {