From a9bd25cf41bd06b8c4078c751daa3bd27e8f2061 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 15 Jan 2020 15:52:06 +0100 Subject: [PATCH] update, add lint script --- package-lock.json | 16 ++++++++-------- package.json | 5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6799e78..16cc389 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,13 +25,13 @@ } }, "@scode/eslint-config": { - "version": "1.1.8", - "resolved": "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-1.1.8.tgz", - "integrity": "sha512-xpHPxlGugwOdWZVwhbjwRJhxh7V84GvSdTHSkuiBVW6siBcu66uV2Wd41pJUlpZuBr4j14nq8hyZGPNW8eyOTQ==", + "version": "1.1.11", + "resolved": "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-1.1.11.tgz", + "integrity": "sha512-2X04vnBFtZFQQh1fGOYy/aFmKgdCUYHmhmY6af3COdNVIV3UalwtInF93UVnTiPsnxLCChacpuPh04bn85odew==", "dev": true, "requires": { - "eslint-plugin-import": "^2.19.1", - "eslint-plugin-jsdoc": "^20.0.0", + "eslint-plugin-import": "^2.20.0", + "eslint-plugin-jsdoc": "^20.3.1", "eslint-plugin-vue": "^6.1.2" } }, @@ -564,9 +564,9 @@ } }, "eslint-plugin-jsdoc": { - "version": "20.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-20.3.0.tgz", - "integrity": "sha512-7tBrLcN02smsQsl8hOKZZx6sGM9qlkN6AmAf7ggpZjsAD/Qi4RsPK+JFzQkA4RysyyDnPZfrJhV19vrQut2dLA==", + "version": "20.3.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-20.3.1.tgz", + "integrity": "sha512-JQ25OXvseVm84pX2mcVvKtGwrZDeAxgFUkq11f/pJpbGJMANYcLaMAUuW7U3cGhapWh+Gj04At/enAt26dpOeg==", "dev": true, "requires": { "comment-parser": "^0.7.2", diff --git a/package.json b/package.json index f0dbf14..6525352 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Split express paths into individual files to make api programming more structured", "main": "index.js", "scripts": { - "test": "mocha" + "test": "mocha", + "lint": "eslint --fix ." }, "repository": { "type": "git", @@ -16,7 +17,7 @@ "author": "Timo Hocker", "license": "GPL-3.0-or-later", "devDependencies": { - "@scode/eslint-config": "^1.1.8", + "@scode/eslint-config": "^1.1.11", "chai": "^4.2.0", "eslint": "^6.8.0", "mocha": "^7.0.0"