mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
ae43f0c48b
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
16 lines
391 B
JavaScript
16 lines
391 B
JavaScript
'use strict'
|
|
|
|
const pkg = require('../package.json')
|
|
|
|
const year = new Date().getFullYear()
|
|
|
|
function getBanner(pluginFilename) {
|
|
return `/*!
|
|
* Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
|
|
* Copyright 2011-${year} ${pkg.author}
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/`
|
|
}
|
|
|
|
module.exports = getBanner
|