chore(lint): switch to eslint

This commit is contained in:
Julian Tölle 2021-05-25 18:12:42 +02:00
parent f56548e432
commit 9b96d0fab4
29 changed files with 1609 additions and 113 deletions

View file

@ -15,7 +15,7 @@
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src/ frontend/src/",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
@ -64,6 +64,17 @@
"@types/node": "15.6.0",
"@types/passport-jwt": "3.0.5",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "4.25.0",
"@typescript-eslint/parser": "4.25.0",
"eslint": "7.27.0",
"eslint-config-airbnb-typescript": "12.3.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.3",
"eslint-plugin-jsdoc": "35.0.0",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-react-hooks": "4.2.0",
"jest": "26.6.3",
"prettier": "2.3.0",
"supertest": "6.1.3",
@ -71,9 +82,6 @@
"ts-loader": "9.2.2",
"ts-node": "10.0.0",
"tsconfig-paths": "3.9.0",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-prettier": "2.3.0",
"typescript": "4.2.4"
},
"jest": {