Commit 2ec23f6d authored by Robert Knight's avatar Robert Knight

Update lint config for .mjs files

Update lint config for .mjs files and remove unused variables in
gulpfile.mjs.
parent 8b961d3d
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
}, },
"overrides": [ "overrides": [
{ {
"files": "rollup*.js", "files": ["*.mjs"],
"env": { "node": true }, "env": { "node": true },
"parserOptions": { "sourceType": "module" } "parserOptions": { "sourceType": "module" }
} }
......
import { existsSync, readFileSync } from 'fs'; import { existsSync, readFileSync } from 'fs';
import * as path from 'path';
import { import {
buildCSS, buildCSS,
...@@ -18,7 +17,6 @@ import manifest from './scripts/gulp/manifest.js'; ...@@ -18,7 +17,6 @@ import manifest from './scripts/gulp/manifest.js';
import serveDev from './dev-server/serve-dev.js'; import serveDev from './dev-server/serve-dev.js';
import servePackage from './dev-server/serve-package.js'; import servePackage from './dev-server/serve-package.js';
const STYLE_DIR = 'build/styles';
const FONTS_DIR = 'build/fonts'; const FONTS_DIR = 'build/fonts';
gulp.task('build-js', () => buildJS('./rollup.config.mjs')); gulp.task('build-js', () => buildJS('./rollup.config.mjs'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment