diff options
| author | XhmikosR <[email protected]> | 2023-03-29 20:49:30 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-29 13:49:30 -0400 |
| commit | ae43f0c48bf7acede8a325b24197001fe2b2f416 (patch) | |
| tree | 780ea3b362bff6b88eaed4f4387217264c3b3189 /build | |
| parent | 3aabfc70c38db03e77229a49f4f8c7ed58169cf7 (diff) | |
| download | bootstrap-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.json | 15 | ||||
| -rw-r--r-- | build/banner.js | 1 |
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) { |
