From e75a71a9bc6a9a8655d2aefec525fbadd7769ba9 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Fri, 20 Nov 2020 10:59:40 +0100 Subject: [PATCH] chore: include all JS files in eslint --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index efd9a6a..1bc67a6 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "node ./app.js", "dev": "nodemon ./app.js", "mongo:stop": "docker stop realworld-mongo && docker rm realworld-mongo", - "autoformat": "eslint --fix logic routes/api/tracks.js", + "autoformat": "eslint --fix .", "test": "jest" }, "repository": { @@ -87,6 +87,12 @@ "standard/computed-property-even-spacing": 0, "standard/object-curly-even-spacing": 0 }, - "root": true + "root": true, + "ignorePatterns": [ + "postman-examples/**", + "public/**", + "node_modules", + "local" + ] } }