docs/plugins/google-tagmanager/index.js
Function exports
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (context, options) {
const { siteConfig } = context;
const { themeConfig } = siteConfig;
const { gtm } = themeConfig || {};
Function injectHtmlTags
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
injectHtmlTags() {
return {
headTags: [
{
tagName: 'link',