chore(lint): update ESlint config to run prettier

This commit is contained in:
Jeroen de Bruijn 2020-03-23 14:07:09 +01:00
parent 2bf775c20e
commit 5196b054ea
No known key found for this signature in database
GPG key ID: 7D12D6AB2A547EBB
3 changed files with 10 additions and 13 deletions

View file

@ -4,7 +4,9 @@
"description": "GitHub Action to run Renovate self-hosted.",
"scripts": {
"lint": "eslint --ignore-path .prettierignore --ext .ts,.tsx,.js,.jsx,.json .",
"lint:fix": "eslint --ignore-path .prettierignore --ext .ts,.tsx,.js,.jsx,.json --fix .",
"lint-file": "eslint --ignore-path .prettierignore",
"lint-file:fix": "eslint --ignore-path .prettierignore --fix",
"format": "concurrently \"npm:format:default\"",
"format:default": "prettier --write \"**/*.{js,jsx,vue,ts,css,less,scss,html,htm,json,md,markdown,yml,yaml}\"",
"format-file:default": "prettier --write",