Skip to content

Commit 5701835

Browse files
chore(deps-dev): bump xo from 0.58.0 to 0.59.0 (#892)
* chore(deps-dev): bump xo from 0.58.0 to 0.59.0 Bumps [xo](https://github.com/xojs/xo) from 0.58.0 to 0.59.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](xojs/xo@v0.58.0...v0.59.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update if-eq.js * Update unique-id.js * Update if-eq.js * Update unique-id.js * Update unique-id.js --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maximilian Franzke <[email protected]>
1 parent adca3e4 commit 5701835

File tree

4 files changed

+1131
-806
lines changed

4 files changed

+1131
-806
lines changed

helpers/if-eq.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* eslint unicorn/prefer-module: 0, eqeqeq: 0 */
1+
/* eslint-disable-next-line unicorn/prefer-module, unicorn/no-anonymous-default-export */
22
module.exports = function (Handlebars) {
33
Handlebars.registerHelper('if_eq', function (a, b, options) {
4+
/* eslint-disable-next-line eqeqeq */
45
if (a == b) {
56
return options.fn(this);
67
}

helpers/unique-id.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* eslint unicorn/prefer-module: 0, eqeqeq: 0 */
1+
/* eslint-disable-next-line unicorn/prefer-module, unicorn/no-anonymous-default-export */
22
module.exports = function (Handlebars) {
33
Handlebars.registerHelper('unique-id', function () {
4+
/* eslint-disable-next-line unicorn/prefer-module */
45
const crypto = require('node:crypto');
56

67
return `id-${crypto.randomUUID()}`;

0 commit comments

Comments
 (0)