aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-03-08 12:43:44 +0200
committerXhmikosR <[email protected]>2024-03-19 11:25:15 +0200
commit24f749cb768b7d7830ed9bc7b3b38d35dbbccffd (patch)
treebc752763aad4e8c36f84a73d2a0e751a364a0e8e /.eslintrc.json
parente340674d06f1c5b054eb5395bac85a3cf36d3463 (diff)
downloadbootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.tar.xz
bootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.zip
docs: bundle assets with Hugo
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 5436d43f4..b4262cf6e 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -199,6 +199,15 @@
},
{
"files": [
+ "site/assets/js/**"
+ ],
+ "parserOptions": {
+ "sourceType": "module",
+ "ecmaVersion": 2020
+ }
+ },
+ {
+ "files": [
"**/*.md"
],
"plugins": [