From c83587176e9e5dbe2835ae11ec8ba8d48fbe9cb1 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:33:07 -0600 Subject: [PATCH] fix: bump deps, fixed linting --- .xo-config.js | 9 +++++++-- package.json | 17 ++++++++--------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.xo-config.js b/.xo-config.js index 6b1ee49..2819c88 100644 --- a/.xo-config.js +++ b/.xo-config.js @@ -6,7 +6,10 @@ module.exports = { rules: { 'capitalized-comments': 'off', 'unicorn/catch-error-name': 'off', - 'unicorn/require-post-message-target-origin': 'off' + 'unicorn/require-post-message-target-origin': 'off', + 'unicorn/prefer-node-protocol': 'warn', + 'unicorn/prefer-top-level-await': 'warn', + 'unicorn/prefer-logical-operator-over-ternary': 'warn' }, overrides: [ { @@ -26,7 +29,9 @@ module.exports = { '@typescript-eslint/no-unsafe-assignment': 'warn', '@typescript-eslint/no-unsafe-call': 'warn', '@typescript-eslint/no-unused-vars': 'warn', - '@typescript-eslint/no-empty-function': 'warn' + '@typescript-eslint/no-empty-function': 'warn', + '@typescript-eslint/consistent-type-definitions': 'warn', + '@typescript-eslint/consistent-type-imports': 'warn' } } ], diff --git a/package.json b/package.json index 54775cb..e858dbb 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@breejs/later": "^4.1.0", "boolean": "^3.2.0", "combine-errors": "^3.0.3", - "cron-validate": "^1.4.3", + "cron-validate": "^1.4.5", "human-interval": "^2.0.1", "is-string-and-not-blank": "^0.0.2", "is-valid-path": "^0.1.1", @@ -24,8 +24,8 @@ "safe-timers": "^1.1.0" }, "devDependencies": { - "@commitlint/cli": "^17.0.2", - "@commitlint/config-conventional": "^17.0.2", + "@commitlint/cli": "^18.4.3", + "@commitlint/config-conventional": "^18.4.3", "@goto-bus-stop/envify": "^5.0.0", "@sinonjs/fake-timers": "^9.1.2", "@types/node": "^17.0.41", @@ -36,18 +36,17 @@ "cross-env": "^7.0.3", "delay": "^5.0.0", "dtslint": "^4.2.1", - "eslint": "^8.17.0", + "eslint": "8.39.0", "eslint-config-xo-lass": "^2.0.1", "events.once": "^2.0.2", "fixpack": "^4.0.0", - "husky": "^8.0.1", + "husky": "^8.0.3", "into-stream": "^7.0.0", - "lint-staged": "^13.0.1", + "lint-staged": "^15.1.0", "nyc": "^15.1.0", - "remark-cli": "^10.0.1", + "remark-cli": "11", "remark-preset-github": "^4.0.4", - "unassertify": "^2.1.1", - "xo": "^0.50.0" + "xo": "0.53.1" }, "engines": { "node": ">=12.17.0 <13.0.0-0||>=13.2.0"