From f5ce1ec28575bf684942943d9fbd902b0d313cc6 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 13 May 2020 08:54:42 +0800 Subject: [PATCH] - npm: Update devDeps (mocha, typescript, eslint) - Add coverage to ignore and lint all by default (adding to ignore allows discovery by IDEs) --- .eslintignore | 1 + package.json | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index bc0faff..d60f77b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ /node_modules !.eslintrc.* +coverage diff --git a/package.json b/package.json index 2f01c49..ac3fa79 100644 --- a/package.json +++ b/package.json @@ -16,19 +16,19 @@ "devDependencies": { "@mysticatea/eslint-plugin": "^13.0.0", "codecov": "^3.6.5", - "eslint": "~6.6.0", - "mocha": "^7.1.1", + "eslint": "^7.0.0", + "mocha": "^7.1.2", "npm-run-all": "^4.1.5", "nyc": "^15.0.1", "opener": "^1.5.1", "rimraf": "^3.0.2", - "typescript": "^3.8.3" + "typescript": "^3.9.2" }, "scripts": { "clean": "rimraf .nyc_output coverage", "coverage": "opener coverage/lcov-report/index.html", "codecov": "codecov --disable=gcov -t $CODECOV_TOKEN", - "lint": "eslint lib scripts tests", + "lint": "eslint .", "test": "npm run -s lint && nyc mocha \"tests/lib/**/*.js\" --reporter dot", "update": "node scripts/generate-configs && node scripts/generate-rules", "preversion": "run-s clean update test",