Skip to content

Commit a832789

Browse files
authored
Fix linting error with 'import' keyword (#3929)
1 parent 215b763 commit a832789

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = {
110110
{
111111
files: ["tools/**/*.js"],
112112
parserOptions: {
113-
ecmaVersion: 2018
113+
ecmaVersion: 2020
114114
},
115115
rules: {
116116
camelcase: "off"

tools/lib/makestuff.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const _ = require('lodash');
55
const config = require("../build_config.js");
66

77
async function clean(directory) {
8-
let del = await import('del');
8+
const del = await import('del');
99
del.deleteSync([directory]);
1010
fs.mkdirSync(directory, { recursive: true });
1111
}

0 commit comments

Comments
 (0)