From fdbe51e7faf15dca42b140685c9b9af40c0a3bc2 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Tue, 4 Dec 2018 07:21:53 +0100 Subject: [PATCH] chore: update lint-stage --- package.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 1684d2796..08785ced9 100644 --- a/package.json +++ b/package.json @@ -201,15 +201,17 @@ } }, "lint-staged": { - "*.yaml": [ - "prettier --parser yaml --no-config --single-quote --write", - "git add" - ], - "*": [ - "eslint .", - "prettier --write", - "git add" - ], + "linters": { + "*.yaml": [ + "prettier --parser yaml --no-config --single-quote --write", + "git add" + ], + "*": [ + "eslint .", + "prettier --write", + "git add" + ] + }, "ignore": ["*.json"] }, "bundlesize": [