From ea000dcfc82953965036ec871d0b26abc1b37476 Mon Sep 17 00:00:00 2001 From: BelfordZ Date: Thu, 12 Oct 2017 20:49:00 -0700 Subject: [PATCH] feat(eslint) Add fix option to npm run commands --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 617b90e..c5bcdd0 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'", "build": "babel server -d dist", "lint": "eslint ./server", + "lint-fix": "npm run lint -- --fix", "test": "npm run lint && npm run mocha", "prod": "npm run build && node dist/", "mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",