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:
@@ -1,6 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
const pkg = require('../package.json')
|
||||
|
||||
const year = new Date().getFullYear()
|
||||
|
||||
function getBanner(pluginFilename) {
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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,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')
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user