Skip to content

Commit

Permalink
move eslint config correctly to dev dep
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Jun 4, 2024
1 parent 85ba3e1 commit 4a7983e
Show file tree
Hide file tree
Showing 5 changed files with 1,710 additions and 273 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": ["@foxriver76/eslint-config"]
"extends": ["@foxriver76/eslint-config"],
"rules": {
"unicorn/prefer-module": 0
}
}
4 changes: 2 additions & 2 deletions lib/crypto.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
const crypto = require(`crypto`);
const crypto = require(`node:crypto`);

/**
* encrypts a value by a given key
Expand Down Expand Up @@ -81,4 +81,4 @@ function decrypt(key, value) {
}

exports.decrypt = decrypt;
exports.encrypt = encrypt;
exports.encrypt = encrypt;
84 changes: 0 additions & 84 deletions lib/tools.js

This file was deleted.

Loading

0 comments on commit 4a7983e

Please sign in to comment.