From 73b2caa838bb4fc1b0432a6ed263a01653d642dd Mon Sep 17 00:00:00 2001 From: Shaun Dern Date: Fri, 3 Apr 2020 12:13:36 +0100 Subject: [PATCH] Lint staged will only handle domain specific files --- lint-staged.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index b67c0f8..b274927 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,6 +1,6 @@ 'use strict' module.exports = { - '*.{js,jsx,ts,tsx}': ['eslint --fix'], - '*.{md,json,html,yml,css,sass,scss,rb,rake,graphql}': ['prettier --write'], + '*.{js,ts}': ['eslint --fix'], + '*.{md,json,html,yml}': ['prettier --write'], }