Skip to content

Commit

Permalink
Merge pull request #1 from StanleyMasinde/ft_update_eslint
Browse files Browse the repository at this point in the history
Update Eslint to v9
  • Loading branch information
StanleyMasinde authored Jan 19, 2025
2 parents 3ef915b + df49b62 commit 391b1fe
Show file tree
Hide file tree
Showing 4 changed files with 2,772 additions and 2,313 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.yml

This file was deleted.

12 changes: 12 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.node }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "koa-template-ts",
"version": "0.1.0",
"version": "0.2.0",
"description": "A self hosted deployer that relies on Webhooks",
"main": "dist/server.js",
"scripts": {
Expand All @@ -16,21 +16,22 @@
"author": "Stanley Masinde",
"license": "MIT",
"dependencies": {
"@koa/router": "^12.0.1",
"dotenv": "^16.3.1",
"koa": "^2.15.0"
"@koa/router": "^12.0.2",
"dotenv": "^16.4.7",
"koa": "^2.15.3"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@jest/globals": "^29.7.0",
"@types/koa": "^2.13.12",
"@types/koa": "^2.15.0",
"@types/koa__router": "^12.0.4",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"eslint": "^9.18.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"supertest": "^6.3.3",
"supertest": "^6.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
}
}
Loading

0 comments on commit 391b1fe

Please sign in to comment.