2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Fix new lint issues

This commit is contained in:
XhmikosR
2021-08-26 19:12:28 +03:00
parent caa0592bee
commit 076af07fc0
11 changed files with 14 additions and 6 deletions
+1
View File
@@ -1,6 +1,7 @@
'use strict'
const pkg = require('../package.json')
const year = new Date().getFullYear()
function getBanner(pluginFilename) {
+2 -1
View File
@@ -10,13 +10,14 @@
'use strict'
const path = require('path')
const process = require('process')
const rollup = require('rollup')
const glob = require('glob')
const { babel } = require('@rollup/plugin-babel')
const banner = require('./banner.js')
const srcPath = path.resolve(__dirname, '../js/src/')
const jsFiles = glob.sync(srcPath + '/**/*.js')
const jsFiles = glob.sync(`${srcPath}/**/*.js`)
// Array which holds the resolved plugins
const resolvedPlugins = []
+1
View File
@@ -11,6 +11,7 @@
const fs = require('fs').promises
const path = require('path')
const process = require('process')
const globby = require('globby')
const VERBOSE = process.argv.includes('--verbose')
+1
View File
@@ -1,6 +1,7 @@
'use strict'
const path = require('path')
const process = require('process')
const { babel } = require('@rollup/plugin-babel')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const replace = require('@rollup/plugin-replace')
+1
View File
@@ -10,6 +10,7 @@
'use strict'
const { execFile, spawn } = require('child_process')
const process = require('process')
const vnu = require('vnu-jar')
execFile('java', ['-version'], (error, stdout, stderr) => {