💅 Update ESLint scope (#204)

* lint: let eslint lint all js files in project && auto-fix

* lint: ignore dist, unignore eleventy config

* del unused minified file

* 💅
This commit is contained in:
Oscar
2020-06-11 19:12:58 +02:00
committed by GitHub
parent 6f0a29f859
commit 10c0a7296d
5 changed files with 187 additions and 169 deletions

View File

@@ -10,8 +10,8 @@
"build:site": "eleventy",
"create-definitions": "bin/create-definitions",
"lint": "concurrently npm:lint:*",
"lint:css": "stylelint \"assets/css/**/*.scss\"",
"lint:js": "eslint \"11ty/**/*.js\"",
"lint:css": "stylelint \"assets/css/**/*.scss\" --fix",
"lint:js": "eslint \"**/*.js\" --fix",
"lint:markdown": "markdownlint '**/*.md' --ignore node_modules",
"serve": "concurrently \"npm run serve:site\" \"npm run watch:css\"",
"serve:site": "eleventy --serve",