diff --git a/package.json b/package.json index e259199bb8..df58ee9c76 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "clean": "rm -rf lib", "coverage": "codecov", "flow": "flow", - "lint": "eslint ./src && prettier --check src/**/*.js", + "lint": "eslint ./src && prettier --check src/**/*.{js,ts}", "package": "pkg . --output ./bin/gitmoji --targets latest-linux-x64,latest-macos-x64,latest-win-x64", "prepare": "husky install", "prepublishOnly": "yarn run lint && yarn run flow && yarn run test",