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",