From 915957c14f5dc5d78a241bac80e7b0b2fceb8888 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 1 Mar 2021 11:19:17 +0530 Subject: [PATCH] implement 'npm run lint:translations' --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e2b3c0fa2..52f3fbaed 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "lint:js": "jshint --config .jshintrc --exclude-path .jshintignore .", "lint:server": "jshint --config .jshintrc lib", "lint:less": "./node_modules/lesshint/bin/lesshint -c ./.lesshintrc ./customize.dist/src/less2/", + "lint:translations": "node ./scripts/unused-translations.js", "test": "node scripts/TestSelenium.js", "test-rpc": "cd scripts/tests && node test-rpc", "template": "cd customize.dist/src && for page in ../index.html ../privacy.html ../terms.html ../contact.html ../what-is-cryptpad.html ../features.html ../../www/login/index.html ../../www/register/index.html ../../www/user/index.html;do echo $page; cp template.html $page; done;",