Skip to content

Commit 9a41cac

Browse files
committed
Updates for eslint v10
1 parent 0f3888b commit 9a41cac

6 files changed

Lines changed: 566 additions & 1250 deletions

File tree

eslint.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ import openlayers from 'eslint-config-openlayers';
55
*/
66
export default [
77
...openlayers,
8-
];
8+
{
9+
rules: {
10+
'jsdoc/reject-function-type': 'off'
11+
}
12+
}
13+
];

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require('string.prototype.matchall').shim();
22
const fs = require('fs');
33
const path = require('path');
4-
const addInherited = require('jsdoc/augment').addInherited; // eslint-disable-line import/no-unresolved
5-
const env = require('jsdoc/env'); // eslint-disable-line import/no-unresolved
4+
const addInherited = require('jsdoc/augment').addInherited;
5+
const env = require('jsdoc/env');
66

77
const importRegEx =
88
/import\(["']([^"']*)["']\)(?:\.([^ \.\|\}><,\)=#\n]*))?([ \.\|\}><,\)=#\n])/g;

0 commit comments

Comments
 (0)