Skip to content

Commit

Permalink
chore: replace tslint with eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dbartholomae committed Jan 27, 2024
1 parent eda584f commit 3315bed
Show file tree
Hide file tree
Showing 8 changed files with 3,937 additions and 7,369 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* eslint-env node */
module.exports = {
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
root: true,
rules: {
"@typescript-eslint/no-explicit-any": 0,
},
};
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage
lib
pnpm-lock.yaml
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@
"pretest": "npm run build",
"release": "semantic-release",
"start": "cd test && serverless offline",
"test": "npm run lint && npm run test:unit && npm run test:integration && pkg-ok",
"test": "npm run check-style && npm run lint && npm run test:unit && npm run test:integration && pkg-ok",
"test:integration": "concurrently --kill-others --success first \"cd test && serverless offline\" \"wait-on http://localhost:3000/dev/status && jest -c jest.integration.config.js\"",
"test:unit": "jest",
"lint": "tslint --project tsconfig.json",
"lint:fix": "tslint --project tsconfig.json --fix"
"check-style": "prettier --check .",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
Expand All @@ -67,9 +68,12 @@
"@types/jsonwebtoken": "^9.0.0",
"@types/node": "^20.0.0",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"codecov": "^3.8.3",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"jest": "^29.3.1",
"moment": "^2.29.4",
"pkg-ok": "^3.0.0",
Expand All @@ -83,11 +87,8 @@
"supertest": "^6.3.1",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-consistent-codestyle": "^1.16.0",
"typedoc": "^0.25.0",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"wait-on": "^7.0.1",
"webpack": "^5.75.0"
},
Expand Down
Loading

0 comments on commit 3315bed

Please sign in to comment.