Migrate to eslint

This commit is contained in:
Vinicius Fortuna 2022-03-10 01:50:59 +00:00
parent 17d1a63f2d
commit 7389ce724f
51 changed files with 2217 additions and 643 deletions

View file

@ -3,12 +3,14 @@
"private": true,
"devDependencies": {
"@types/jasmine": "^3.5.10",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"eslint": "^8.10.0",
"generate-license-file": "^1.2.0",
"husky": "^1.3.1",
"jasmine": "^3.5.0",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"tslint": "^5.9.1",
"typescript": "^4"
},
"engines": {
@ -24,7 +26,7 @@
"format:all": "prettier --write \"**/*.{cjs,html,js,json,md,ts}\"",
"lint": "npm run lint:sh && npm run lint:ts",
"lint:sh": "bash ./scripts/shellcheck.sh",
"lint:ts": "npx tslint 'src/**/*.ts' -e '**/node_modules/**'",
"lint:ts": "npx eslint \"**/*.{js,ts}\"",
"test": "npm run lint && npm run action metrics_server/test && npm run action sentry_webhook/build && npm run action server_manager/test && npm run action shadowbox/test"
},
"workspaces": [