mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
chore: update dependencies for eslint and typescript
- upgraded eslint from ^8.57.0 to ^9.36.0 - upgraded typescript from ^5.8.3 to ^5.9.2 - upgraded typescript-eslint from ^8.33.1 to ^8.44.1
This commit is contained in:
@@ -6,6 +6,10 @@ import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"
|
||||
import globals from "globals";
|
||||
import unusedImports from "eslint-plugin-unused-imports";
|
||||
import react from "eslint-plugin-react";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default tseslint.config(
|
||||
{
|
||||
@@ -237,7 +241,7 @@ export default tseslint.config(
|
||||
project: ["./tsconfig.json"], // Specify it only for TypeScript files
|
||||
// or `project: true` in typescript-eslint version >= 5.52.0
|
||||
createDefaultProgram: false,
|
||||
tsconfigRootDir: ".",
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
},
|
||||
linterOptions: {
|
||||
|
||||
981
package-lock.json
generated
981
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,15 +18,15 @@
|
||||
"@eslint/js": "^9.4.0",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"ejs-lint": "^1.2.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint": "^9.36.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"husky": "^7.0.0",
|
||||
"lint-staged": "^13.2.1",
|
||||
"nodemon": "^2.0.20",
|
||||
"prettier": "3.3.2",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.33.1"
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-eslint": "^8.44.1"
|
||||
},
|
||||
"scripts": {
|
||||
"config-to-dev": "node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development",
|
||||
|
||||
Reference in New Issue
Block a user