From 6ec64d5a406cbcd3fe2cb4dcf8c230eeb880ccaa Mon Sep 17 00:00:00 2001 From: alimpens Date: Tue, 10 Sep 2024 14:34:54 +0200 Subject: [PATCH] Fix lint-staged config --- lint-staged.config.js | 2 +- package.json | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index 869ff40d53..2935935cfb 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MPL-2.0 // Copyright (C) 2020 - 2021 Gemeente Amsterdam module.exports = { - '*.{js,ts,tsx}': 'eslint', + '*.{js,jsx,ts,tsx}': ['prettier --write', 'eslint'], } diff --git a/package.json b/package.json index d09331b04d..7ae266ac0e 100644 --- a/package.json +++ b/package.json @@ -183,11 +183,5 @@ "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.2" }, - "private": true, - "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "prettier --write", - "eslint" - ] - } + "private": true }