Skip to content

Commit d9de789

Browse files
committed
Fix linting errors.
1 parent 19794fd commit d9de789

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
root: true,
23
env: {
34
node: true
45
},
@@ -7,6 +8,7 @@ module.exports = {
78
'digitalbazaar/jsdoc',
89
'digitalbazaar/module'
910
],
11+
ignorePatterns: ['node_modules/'],
1012
rules: {
1113
'unicorn/prefer-node-protocol': 'error'
1214
}

lib/LruCache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright (c) 2020-2021 Digital Bazaar, Inc. All rights reserved.
2+
* Copyright (c) 2020-2023 Digital Bazaar, Inc. All rights reserved.
33
*/
44
import LRU from 'lru-cache';
55

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"chai": "^4.3.6",
2626
"cross-env": "^7.0.3",
2727
"delay": "^5.0.0",
28-
"eslint": "^8.16.0",
29-
"eslint-config-digitalbazaar": "^3.0.0",
30-
"eslint-plugin-jsdoc": "^39.3.2",
31-
"eslint-plugin-unicorn": "^42.0.0",
28+
"eslint": "^8.48.0",
29+
"eslint-config-digitalbazaar": "^5.0.1",
30+
"eslint-plugin-jsdoc": "^46.5.0",
31+
"eslint-plugin-unicorn": "^48.0.1",
3232
"karma": "^6.3.20",
3333
"karma-chai": "^0.1.0",
3434
"karma-chrome-launcher": "^3.1.1",

tests/10-api.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*!
2-
* Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved.
2+
* Copyright (c) 2020-2023 Digital Bazaar, Inc. All rights reserved.
33
*/
4-
import {LruCache} from '../lib/index.js';
54
import delay from 'delay';
5+
import {LruCache} from '../lib/index.js';
66

77
describe('API', () => {
88
it('has the proper exports', async () => {

0 commit comments

Comments
 (0)