Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump the lint group across 1 directory with 10 updates #211

Merged
merged 3 commits into from
Aug 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: fix deps and lints
  • Loading branch information
mcous committed Aug 3, 2024
commit 57d570f9ead1c9bd45602e7ba0516453b7b8d2c0
8 changes: 7 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -31,7 +31,13 @@ rules:
jsdoc/tag-lines: "off"
"@typescript-eslint/restrict-template-expressions":
- "error"
- allowNumber: true
- allowAny: false
allowBoolean: false
allowNullish: false
allowNumber: true
allowRegExp: false
allowNever: false
"@typescript-eslint/no-unnecessary-type-parameters": "off"

overrides:
- files: ["**/*.js"]
5 changes: 4 additions & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -19,10 +19,13 @@ updates:
development:
dependency-type: "development"

# TODO(mcous, 2024-07-06): update to ESLint v9 + flat config
ignore:
# TODO(mcous, 2024-07-06): update to ESLint v9 + flat config
- dependency-name: "eslint"
versions: [">=9"]
# rimraf dropped support for ESLint v18
- dependency-name: "rimraf"
versions: [">=6"]

# Update GitHub Actions dependencies
- package-ecosystem: "github-actions"
2 changes: 1 addition & 1 deletion action.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable @typescript-eslint/no-floating-promises, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-floating-promises, @typescript-eslint/no-require-imports, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call */
"use strict";

const { main } = require("./dist/main.js");
2 changes: 1 addition & 1 deletion bin/npm-publish.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/use-unknown-in-catch-callback-variable, unicorn/prefer-module, unicorn/prefer-top-level-await */
/* eslint-disable @typescript-eslint/no-require-imports, @typescript-eslint/use-unknown-in-catch-callback-variable, unicorn/prefer-module, unicorn/prefer-top-level-await */
"use strict";

const process = require("node:process");
4 changes: 2 additions & 2 deletions dist/main.js.map

Large diffs are not rendered by default.

235 changes: 28 additions & 207 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@
"eslint-plugin-unicorn": "^55.0.0",
"prettier": "^3.0.3",
"prettier-plugin-jsdoc": "^1.1.1",
"rimraf": "^6.0.1",
"rimraf": "^5.0.9",
"typescript": "^5.2.2",
"vitest": "^2.0.5",
"vitest-when": "^0.4.0"
2 changes: 1 addition & 1 deletion src/compare-and-publish/compare-and-publish.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ export async function compareAndPublish(
const isDryRun = options.dryRun.value;
const comparison = compareVersions(version, viewCall.successData, options);
const publishCall =
comparison.type ?? isDryRun
(comparison.type ?? isDryRun)
? await callNpmCli(PUBLISH, publishArguments, cliOptions)
: { successData: undefined, errorCode: undefined, error: undefined };

Loading
Oops, something went wrong.