From f65d8efc8dead6ff04d16dacbbf914f4daeb07df Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Mon, 8 Jul 2019 14:55:44 -0300 Subject: [PATCH] Updated config for lint-staged --- package.json | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 0a1a5700980..497c7b3235c 100644 --- a/package.json +++ b/package.json @@ -75,23 +75,17 @@ } }, "lint-staged": { - "linters": { - "*.php": [ - "php -d display_errors=1 -l", - "composer run-script phpcs-pre-commit" - ], - "*.scss": [ - "stylelint --syntax=scss --fix", - "git add" - ], - "*.js": [ - "eslint --fix", - "git add" - ] - }, - "ignore": [ - "*.min.js", - "*.css" + "*.php": [ + "php -d display_errors=1 -l", + "composer run-script phpcs-pre-commit" + ], + "*.scss": [ + "stylelint --syntax=scss --fix", + "git add" + ], + "*.js": [ + "eslint --fix", + "git add" ] } }