From 308d9afab98924b5e494d0c1e8a42ab37f41e655 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 17 May 2022 20:48:58 +0100 Subject: [PATCH] fix eslint. --- .eslintrc.json | 1 - package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index fa6ed1f728..b6424d46cc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,4 @@ { - "root": true, "parserOptions": { "ecmaVersion": 8, "ecmaFeatures": { diff --git a/package.json b/package.json index d0cd28787f..9d7a05ce81 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "count-total-lines-of-code": "git grep ^ | wc -l", "uninstall": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)", "delete-all-local-branches": "git branch | grep -v 'master' | xargs git branch -D", - "lint": "ejslint home/views/*.ejs && eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore --resolve-plugins-relative-to .", - "fix-lint": "eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore --fix --resolve-plugins-relative-to .", + "lint": "ejslint home/views/*.ejs && eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore ", + "fix-lint": "eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore --fix ", "fix": "npm run fix-lint", "build": "docker-compose --env-file ./docker-enterprise.env build", "build-ci": "docker-compose --env-file ./docker-enterprise.env -f docker-compose.ci.yml build $npm_config_services",