diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e31073732e..7bc6101391 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,7 +55,7 @@ repos: - --skip - examples/sld/index.pug,package-lock.json,examples/reprojection/proj.json,website/themes/agency/source/vendor/jquery/jquery.min.js,examples/reprojection/capitals.json - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.5.0 + rev: v9.13.0 hooks: - id: commitlint stages: [commit-msg] diff --git a/examples/index-website.js b/examples/index-website.js index 1964cbdba3..a8d8db6433 100644 --- a/examples/index-website.js +++ b/examples/index-website.js @@ -18,3 +18,6 @@ require('codemirror/addon/edit/matchbrackets'); // Colorbrewer window.colorbrewer = require('colorbrewer').default; + +// d3 +window.d3 = require('d3');