chore: include all JS files in eslint

This commit is contained in:
Paul Bienkowski 2020-11-20 10:59:40 +01:00
parent 02f8258a91
commit e75a71a9bc

View file

@ -8,7 +8,7 @@
"start": "node ./app.js", "start": "node ./app.js",
"dev": "nodemon ./app.js", "dev": "nodemon ./app.js",
"mongo:stop": "docker stop realworld-mongo && docker rm realworld-mongo", "mongo:stop": "docker stop realworld-mongo && docker rm realworld-mongo",
"autoformat": "eslint --fix logic routes/api/tracks.js", "autoformat": "eslint --fix .",
"test": "jest" "test": "jest"
}, },
"repository": { "repository": {
@ -87,6 +87,12 @@
"standard/computed-property-even-spacing": 0, "standard/computed-property-even-spacing": 0,
"standard/object-curly-even-spacing": 0 "standard/object-curly-even-spacing": 0
}, },
"root": true "root": true,
"ignorePatterns": [
"postman-examples/**",
"public/**",
"node_modules",
"local"
]
} }
} }