aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2023-03-29 20:49:30 +0300
committerGitHub <[email protected]>2023-03-29 13:49:30 -0400
commitae43f0c48bf7acede8a325b24197001fe2b2f416 (patch)
tree780ea3b362bff6b88eaed4f4387217264c3b3189 /build
parent3aabfc70c38db03e77229a49f4f8c7ed58169cf7 (diff)
downloadbootstrap-ae43f0c48bf7acede8a325b24197001fe2b2f416.tar.xz
bootstrap-ae43f0c48bf7acede8a325b24197001fe2b2f416.zip
Tweak and re-organize ESLint config (#38369)
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
Diffstat (limited to 'build')
-rw-r--r--build/.eslintrc.json15
-rw-r--r--build/banner.js1
2 files changed, 1 insertions, 15 deletions
diff --git a/build/.eslintrc.json b/build/.eslintrc.json
deleted file mode 100644
index dec6323d0..000000000
--- a/build/.eslintrc.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "env": {
- "browser": false,
- "node": true
- },
- "parserOptions": {
- "sourceType": "script"
- },
- "extends": "../.eslintrc.json",
- "rules": {
- "no-console": "off",
- "strict": "error",
- "unicorn/prefer-top-level-await": "off"
- }
-}
diff --git a/build/banner.js b/build/banner.js
index df82ff32e..a022f1c48 100644
--- a/build/banner.js
+++ b/build/banner.js
@@ -1,6 +1,7 @@
'use strict'
const pkg = require('../package.json')
+
const year = new Date().getFullYear()
function getBanner(pluginFilename) {