From 08c6cf31a09835fb9d40735415cf8227b776c989 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 11 Jun 2024 15:04:28 +0100 Subject: [PATCH] refactor: Update linting configuration to exclude .tsx files The linting configuration in the package.json file has been updated to exclude .tsx files from linting. This change ensures that the linting process only targets .ts files and improves the efficiency of the linting process. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2c20328fc8..1ac6833282 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "prerun": "bash configure.sh", "typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js", "uninstall": "bash uninstall.sh", - "lint": "ejslint **/*.ejs && eslint '**/*.{ts,tsx,json}' -c .eslintrc.json --ignore-path .eslintignore ", - "fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.{ts,tsx,json}' -c .eslintrc.json --ignore-path .eslintignore --fix --cache", + "lint": "ejslint **/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ", + "fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix --cache", "fix": "npm run fix-lint", "status-check": "bash ./Tests/Scripts/status-check.sh $npm_config_services", "start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && npm run status-check",