fix eslint.

This commit is contained in:
Simon Larsen 2022-05-17 20:48:58 +01:00
parent 6ea19bda49
commit 308d9afab9
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {

View File

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