update
This commit is contained in:
		
							
								
								
									
										1
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | /snippets/ | ||||||
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							| @@ -11,6 +11,8 @@ | |||||||
| /* eslint-disable global-require */ | /* eslint-disable global-require */ | ||||||
| /* eslint-disable no-sync */ | /* eslint-disable no-sync */ | ||||||
|  |  | ||||||
|  | 'use strict'; | ||||||
|  |  | ||||||
| const { argv } = require ('yargs'); | const { argv } = require ('yargs'); | ||||||
| const path = require ('path'); | const path = require ('path'); | ||||||
| const fs = require ('fs-extra'); | const fs = require ('fs-extra'); | ||||||
|   | |||||||
| @@ -5,6 +5,8 @@ | |||||||
|  * Created by Timo Hocker <timo@scode.ovh>, January 2020 |  * Created by Timo Hocker <timo@scode.ovh>, January 2020 | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | 'use strict'; | ||||||
|  |  | ||||||
| const fs = require ('fs'); | const fs = require ('fs'); | ||||||
|  |  | ||||||
| const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8')); | const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8')); | ||||||
|   | |||||||
							
								
								
									
										96
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										96
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -25,13 +25,15 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "@scode/eslint-config": { |     "@scode/eslint-config": { | ||||||
|       "version": "1.1.11", |       "version": "1.2.7", | ||||||
|       "resolved": "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-1.1.11.tgz", |       "resolved": "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-1.2.7.tgz", | ||||||
|       "integrity": "sha512-2X04vnBFtZFQQh1fGOYy/aFmKgdCUYHmhmY6af3COdNVIV3UalwtInF93UVnTiPsnxLCChacpuPh04bn85odew==", |       "integrity": "sha512-l6BrBu2s3obiTev/rhgF4Ubmyv2fP6DZzgOacG3FTBiGvzbQKYr3yBWYZ/go6GAbdZuT8WERxrBl8oa2wDIqkQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "eslint-plugin-import": "^2.20.0", |         "eslint-plugin-import": "^2.20.0", | ||||||
|         "eslint-plugin-jsdoc": "^20.3.1", |         "eslint-plugin-jsdoc": "^20.3.1", | ||||||
|  |         "eslint-plugin-node": "^11.0.0", | ||||||
|  |         "eslint-plugin-sort-requires-by-path": "^1.0.2", | ||||||
|         "eslint-plugin-vue": "^6.1.2" |         "eslint-plugin-vue": "^6.1.2" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
| @@ -302,9 +304,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "es-abstract": { |     "es-abstract": { | ||||||
|       "version": "1.17.1", |       "version": "1.17.4", | ||||||
|       "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.1.tgz", |       "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", | ||||||
|       "integrity": "sha512-WmWNHWmm/LDwK8jaeZic/g6sU1ZckM+vvOyCV1qFRhJJ6hzve6DRgthNQB7Lra1ocrw68HexLKYgtdxIPcb3Fg==", |       "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "es-to-primitive": "^1.2.1", |         "es-to-primitive": "^1.2.1", | ||||||
| @@ -434,6 +436,33 @@ | |||||||
|         "pkg-dir": "^2.0.0" |         "pkg-dir": "^2.0.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "eslint-plugin-es": { | ||||||
|  |       "version": "3.0.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.0.tgz", | ||||||
|  |       "integrity": "sha512-6/Jb/J/ZvSebydwbBJO1R9E5ky7YeElfK56Veh7e4QGFHCXoIXGH9HhVz+ibJLM3XJ1XjP+T7rKBLUa/Y7eIng==", | ||||||
|  |       "dev": true, | ||||||
|  |       "requires": { | ||||||
|  |         "eslint-utils": "^2.0.0", | ||||||
|  |         "regexpp": "^3.0.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "eslint-utils": { | ||||||
|  |           "version": "2.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", | ||||||
|  |           "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", | ||||||
|  |           "dev": true, | ||||||
|  |           "requires": { | ||||||
|  |             "eslint-visitor-keys": "^1.1.0" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "regexpp": { | ||||||
|  |           "version": "3.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz", | ||||||
|  |           "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==", | ||||||
|  |           "dev": true | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "eslint-plugin-import": { |     "eslint-plugin-import": { | ||||||
|       "version": "2.20.0", |       "version": "2.20.0", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.0.tgz", |       "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.0.tgz", | ||||||
| @@ -455,9 +484,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "eslint-plugin-jsdoc": { |     "eslint-plugin-jsdoc": { | ||||||
|       "version": "20.3.1", |       "version": "20.4.0", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-20.3.1.tgz", |       "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-20.4.0.tgz", | ||||||
|       "integrity": "sha512-JQ25OXvseVm84pX2mcVvKtGwrZDeAxgFUkq11f/pJpbGJMANYcLaMAUuW7U3cGhapWh+Gj04At/enAt26dpOeg==", |       "integrity": "sha512-c/fnEpwWLFeQn+A7pb1qLOdyhovpqGCWCeUv1wtzFNL5G+xedl9wHUnXtp3b1sGHolVimi9DxKVTuhK/snXoOw==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "comment-parser": "^0.7.2", |         "comment-parser": "^0.7.2", | ||||||
| @@ -493,6 +522,49 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "eslint-plugin-node": { | ||||||
|  |       "version": "11.0.0", | ||||||
|  |       "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.0.0.tgz", | ||||||
|  |       "integrity": "sha512-chUs/NVID+sknFiJzxoN9lM7uKSOEta8GC8365hw1nDfwIPIjjpRSwwPvQanWv8dt/pDe9EV4anmVSwdiSndNg==", | ||||||
|  |       "dev": true, | ||||||
|  |       "requires": { | ||||||
|  |         "eslint-plugin-es": "^3.0.0", | ||||||
|  |         "eslint-utils": "^2.0.0", | ||||||
|  |         "ignore": "^5.1.1", | ||||||
|  |         "minimatch": "^3.0.4", | ||||||
|  |         "resolve": "^1.10.1", | ||||||
|  |         "semver": "^6.1.0" | ||||||
|  |       }, | ||||||
|  |       "dependencies": { | ||||||
|  |         "eslint-utils": { | ||||||
|  |           "version": "2.0.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", | ||||||
|  |           "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", | ||||||
|  |           "dev": true, | ||||||
|  |           "requires": { | ||||||
|  |             "eslint-visitor-keys": "^1.1.0" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         "ignore": { | ||||||
|  |           "version": "5.1.4", | ||||||
|  |           "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", | ||||||
|  |           "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==", | ||||||
|  |           "dev": true | ||||||
|  |         }, | ||||||
|  |         "semver": { | ||||||
|  |           "version": "6.3.0", | ||||||
|  |           "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", | ||||||
|  |           "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", | ||||||
|  |           "dev": true | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "eslint-plugin-sort-requires-by-path": { | ||||||
|  |       "version": "1.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/eslint-plugin-sort-requires-by-path/-/eslint-plugin-sort-requires-by-path-1.0.2.tgz", | ||||||
|  |       "integrity": "sha512-xTjiwPeanMwgGtkfGfBlO9MDvog7u+oxrR0NPnBydfjUKHSVkRTLPz0QA2boKCuYiIRBr9OERQLvInaeJYCngg==", | ||||||
|  |       "dev": true | ||||||
|  |     }, | ||||||
|     "eslint-plugin-vue": { |     "eslint-plugin-vue": { | ||||||
|       "version": "6.1.2", |       "version": "6.1.2", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.1.2.tgz", |       "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.1.2.tgz", | ||||||
| @@ -1271,9 +1343,9 @@ | |||||||
|       "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" |       "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" | ||||||
|     }, |     }, | ||||||
|     "resolve": { |     "resolve": { | ||||||
|       "version": "1.14.2", |       "version": "1.15.0", | ||||||
|       "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz", |       "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz", | ||||||
|       "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==", |       "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "path-parse": "^1.0.6" |         "path-parse": "^1.0.6" | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ | |||||||
|   "author": "Timo Hocker", |   "author": "Timo Hocker", | ||||||
|   "license": "BSD-3-Clause", |   "license": "BSD-3-Clause", | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@scode/eslint-config": "^1.1.11", |     "@scode/eslint-config": "^1.2.7", | ||||||
|     "eslint": "^6.8.0" |     "eslint": "^6.8.0" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user