diff --git a/index.js b/index.js index 16fe4da..703a07c 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ function main () { } const snippet = require (`./snippets/${template}/index.js`); - const folder = process.cwd(); + const folder = process.cwd (); if (!snippet.assert (folder, args)) { console.log ('snipped rejected arguments'); diff --git a/package.json b/package.json index d2dc22c..c1f2c4a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "bin": { "snippeteer": "./index.js" }, + "scripts": { + "lint": "eslint --fix ." + }, "repository": { "type": "git", "url": "git@git.scode.ovh:timo/snippeteer"