update, add lint script

This commit is contained in:
Timo Hocker 2020-01-15 15:52:06 +01:00
parent a1bc4c5b9b
commit a9bd25cf41
2 changed files with 11 additions and 10 deletions

16
package-lock.json generated
View File

@ -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",

View File

@ -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"