diff --git a/.herb.yml b/.herb.yml
new file mode 100644
index 0000000000..9454cf2398
--- /dev/null
+++ b/.herb.yml
@@ -0,0 +1,107 @@
+# This file configures Herb for your project and team.
+# Settings here take precedence over individual editor preferences.
+#
+# Herb is a suite of tools for HTML+ERB templates including:
+# - Linter: Validates templates and enforces best practices
+# - Formatter: Auto-formats templates with intelligent indentation
+# - Language Server: Provides IDE support (VS Code, Zed, Neovim, etc.)
+#
+# Website: https://herb-tools.dev
+# Configuration: https://herb-tools.dev/configuration
+# GitHub Repo: https://github.com/marcoroth/herb
+#
+
+version: 0.9.7
+
+# files:
+# # Additional patterns beyond the defaults (**.html, **.rhtml, **.html.erb, etc.)
+# include:
+# - '**/*.xml.erb'
+# - 'custom/**/*.html'
+#
+# # Patterns to exclude (can exclude defaults too)
+# exclude:
+# - 'public/**/*'
+# - 'tmp/**/*'
+
+linter:
+ enabled: true
+ rules:
+ actionview-no-silent-helper:
+ enabled: false
+ actionview-no-silent-render:
+ enabled: false
+ erb-no-duplicate-branch-elements:
+ enabled: false
+ erb-no-instance-variables-in-partials:
+ enabled: false
+ erb-no-interpolated-class-names:
+ enabled: false
+ erb-no-output-in-attribute-position:
+ enabled: false
+ erb-no-unused-expressions:
+ enabled: false
+ erb-no-unused-literals:
+ enabled: false
+ erb-no-unsafe-raw:
+ enabled: false
+ erb-no-unsafe-script-interpolation:
+ enabled: false
+ erb-prefer-direct-output:
+ enabled: false
+ html-no-unescaped-entities:
+ enabled: false
+ html-require-script-nonce:
+ enabled: false
+ # # Exit with error code when diagnostics of this severity or higher are present
+ # # Valid values: error (default), warning, info, hint
+ # failLevel: warning
+
+ # # Additional patterns beyond the defaults for linting
+ # include:
+ # - '**/*.xml.erb'
+ #
+ # # Patterns to exclude from linting
+ exclude:
+ - "lib/**/*"
+
+ # rules:
+ # erb-no-extra-newline:
+ # enabled: false
+ #
+ # # Rules can have 'include', 'only', and 'exclude' patterns
+ # some-rule:
+ # # Additional patterns to check (additive, ignored when 'only' is present)
+ # include:
+ # - 'app/components/**/*'
+ # # Don't apply this rule to files matching these patterns
+ # exclude:
+ # - 'app/views/admin/**/*'
+ #
+ # another-rule:
+ # # Only apply this rule to files matching these patterns (overrides all 'include')
+ # only:
+ # - 'app/views/**/*'
+ # # Exclude still applies even with 'only'
+ # exclude:
+ # - 'app/views/admin/**/*'
+
+formatter:
+ enabled: false
+ indentWidth: 2
+ maxLineLength: 80
+ # # Additional patterns beyond the defaults for formatting
+ # include:
+ # - '**/*.xml.erb'
+ #
+ # # Patterns to exclude from formatting
+ # exclude:
+ # - 'app/views/admin/**/*'
+
+ # # Rewriters modify templates during formatting
+ # rewriter:
+ # # Pre-format rewriters (modify AST before formatting)
+ # pre:
+ # - tailwind-class-sorter
+ # # Post-format rewriters (modify formatted output string)
+ # post: []
diff --git a/app/assets/builds/alchemy/alchemy_admin.min.js b/app/assets/builds/alchemy/alchemy_admin.min.js
index e73396f26c..01dbc01315 100644
--- a/app/assets/builds/alchemy/alchemy_admin.min.js
+++ b/app/assets/builds/alchemy/alchemy_admin.min.js
@@ -1,2 +1,2 @@
-import"handlebars";import"jquery";import"@ungap/custom-elements";import{Turbo as e}from"@hotwired/turbo-rails";import"select2";import t from"@rails/ujs";import"keymaster";import"clipboard";import s from"flatpickr";import i from"sortablejs";import"tinymce";import{setDefaultAnimation as n,registerIconLibrary as l}from"shoelace";import o from"cropperjs";const r=/\./;function a(e){const t=c(),s=Alchemy.translations;return s?r.test(e)?function(e,t){const s=t.split(r),i=e[s[0]];return i&&i[s[1]]||t}(s,e):s[e]||e:(console.warn(`Translations for locale ${t} not found!`),e)}function c(){return document.documentElement.lang?document.documentElement.lang:"en"}function h(e,t=void 0){let s=a(e);return t?s.replace(/%\{.+\}/,t):s}async function d(){const e=c();"en"!==e&&(await import(`select2/${e}.js`),$.extend($.fn.select2.defaults,$.fn.select2.locales[e]))}const u=[];function m(e){return!(!$(e.target).is("input, textarea")&&"?"===String.fromCharCode(e.which))||(k("/admin/help",{title:Alchemy.t("help"),size:"400x492"}),!1)}function p(e=document){e instanceof jQuery&&(e=e[0]),e===document&&(document.removeEventListener("keypress",m),document.addEventListener("keypress",m),u.forEach((e=>key.unbind(e))));const t=e.querySelectorAll(".search_input_field"),s=e.querySelectorAll(".search_field_clear, .js_filter_field_clear");key("alt+f",(function(){return key.setScope("search"),t.forEach((e=>e.focus({focusVisible:!0}))),!1})),u.push("alt+f"),key("esc","search",(function(){s.forEach((e=>e.click())),t.forEach((e=>e.blur()))})),u.push("esc"),e.querySelectorAll("[data-alchemy-hotkey]").forEach((function(e){const t=e.dataset.alchemyHotkey;key(t,(()=>e.click())),u.push(t)}))}function g(e){const t=document.createElement("template");return t.innerHTML=e,t.content.children[0]}let y=class{constructor(e,t="currentColor"){this.size=e,this.color=t,this.spinner=void 0}get el(){return this.spinner}spin(e){return void 0===e&&(e=document.body),this.spinner=g(` ${s}${i}
\n
${s}
\n${error_body}
\n${error_body}
\nThis is a paragraph, with a link, a keyboard shortcut and an inline code snippet.
This is a paragraph, with a link, a keyboard shortcut and an inline code snippet.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<% end %>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<% end %>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<% end %><%= Alchemy.t("Before creating your first page you need an admin user") %>. diff --git a/bun.lock b/bun.lock index 2f7573d3bb..8a33b38988 100644 --- a/bun.lock +++ b/bun.lock @@ -19,7 +19,7 @@ "tinymce": "^8.5.0", }, "devDependencies": { - "@herb-tools/linter": "^0.8.10", + "@herb-tools/linter": "^0.9.7", "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", @@ -137,21 +137,21 @@ "@floating-ui/utils": ["@floating-ui/utils@0.2.10", "", {}, "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ=="], - "@herb-tools/config": ["@herb-tools/config@0.8.10", "", { "dependencies": { "@herb-tools/core": "0.8.10", "picomatch": "^4.0.2", "tinyglobby": "^0.2.15", "yaml": "^2.8.2" } }, "sha512-feFfAcr/n400vBxtjlLExkcDGjQwUY/SJI+/iwDv9qyLjU6JuwAfsMyG6Td5Kx23U5IFWVC+YbTF9bnd8ZtFdQ=="], + "@herb-tools/config": ["@herb-tools/config@0.9.7", "", { "dependencies": { "@herb-tools/core": "0.9.7", "picomatch": "^4.0.4", "tinyglobby": "^0.2.16", "yaml": "^2.8.3" } }, "sha512-si5+0K2DRm+OC1xNUoMPrH9DSnfB4BWrTmRp2uQ7A9hc+ZAEoNC7+lsCtOy3BGUYD7gag6fGe5Rs0kaiN4+hRA=="], - "@herb-tools/core": ["@herb-tools/core@0.8.10", "", {}, "sha512-KFZX6SUcB9ZSJB8XITEOogq4/hH+QabQp4c0PJqG6c9Iv+EEfEUgVQflFOmJ59NKHrT7Og78lmgJhyeBC20wxQ=="], + "@herb-tools/core": ["@herb-tools/core@0.9.7", "", {}, "sha512-YI/jQbNAOyX1G/tVfS/NAQWM+6zDv9UUY68Myqn6j5uW6jPBH3nBcVz2zP02bh7fFTk5ROCiL5bgBkJw1W+HXA=="], - "@herb-tools/highlighter": ["@herb-tools/highlighter@0.8.10", "", { "dependencies": { "@herb-tools/core": "0.8.10", "@herb-tools/node-wasm": "0.8.10" }, "bin": { "herb-highlight": "bin/herb-highlight" } }, "sha512-jeFLJ9ZIrcja9Ac61QWQfa/6ENHAE5Tju8/ScmjYWZGoF5awaEJM6hmdVVboGQzBcSd0Qjp8Kxq1Odsp+344pg=="], + "@herb-tools/highlighter": ["@herb-tools/highlighter@0.9.7", "", { "dependencies": { "@herb-tools/core": "0.9.7", "@herb-tools/node-wasm": "0.9.7" }, "bin": { "herb-highlight": "bin/herb-highlight" } }, "sha512-U6xm+S7Yiu8b6zYBI6+HfZJjaKi7jrEFRcOP/G7CTA46vlhv7NOIGLgQMFpD8TfGItBxjh6c79pC5w2M11Pitg=="], - "@herb-tools/linter": ["@herb-tools/linter@0.8.10", "", { "dependencies": { "@herb-tools/config": "0.8.10", "@herb-tools/core": "0.8.10", "@herb-tools/highlighter": "0.8.10", "@herb-tools/node-wasm": "0.8.10", "@herb-tools/printer": "0.8.10", "@herb-tools/rewriter": "0.8.10", "picomatch": "^4.0.2", "tinyglobby": "^0.2.15" }, "bin": { "herb-lint": "bin/herb-lint" } }, "sha512-li/JFDoHMpSkYbUMKmFDst+Glf931fobrILvGrnaIp4r7pGBDJQONcImGBdnumKPqMk2p1UkHWONRcEHx33jSw=="], + "@herb-tools/linter": ["@herb-tools/linter@0.9.7", "", { "dependencies": { "@herb-tools/config": "0.9.7", "@herb-tools/core": "0.9.7", "@herb-tools/highlighter": "0.9.7", "@herb-tools/node-wasm": "0.9.7", "@herb-tools/printer": "0.9.7", "@herb-tools/rewriter": "0.9.7", "picomatch": "^4.0.4", "tinyglobby": "^0.2.15" }, "bin": { "herb-lint": "bin/herb-lint" } }, "sha512-2vdIzY3MXXHQQzAig1Hji5PpRWRjNa3VTN731WMANWdACHdeqx9y4Go/uB+XKkW1vdO9dOzAUdEsAASnuJimFg=="], - "@herb-tools/node-wasm": ["@herb-tools/node-wasm@0.8.10", "", { "dependencies": { "@herb-tools/core": "0.8.10" } }, "sha512-lxOL0olfFydmYG76v/br/MHsCbJE/r6vm86oqarOnsZLT+th6MCiKK6E9tE6RlYk/4OeOANePm4NLTqpqF2/5g=="], + "@herb-tools/node-wasm": ["@herb-tools/node-wasm@0.9.7", "", { "dependencies": { "@herb-tools/core": "0.9.7" } }, "sha512-JZaGwbUkMsAYxoMACrCiVGdOE95dIoytTc0pMJ5IAPMLLXiIK8uCkDpzTv4BPn7H7VEb3YATnfKJSNBgz7TbQA=="], - "@herb-tools/printer": ["@herb-tools/printer@0.8.10", "", { "dependencies": { "@herb-tools/core": "0.8.10", "tinyglobby": "^0.2.15" }, "bin": { "herb-print": "bin/herb-print" } }, "sha512-/fKbm7e4bhIyxsYkEaNTJajcvhzlfzKrZ/DftcBmeOZeblz0lTkL3Vx9nvRNQuLT1LyPBfmEzMp1qPKvWUyaCw=="], + "@herb-tools/printer": ["@herb-tools/printer@0.9.7", "", { "dependencies": { "@herb-tools/core": "0.9.7", "tinyglobby": "^0.2.15" }, "bin": { "herb-print": "bin/herb-print" } }, "sha512-YlimzQWNWMge8alPydMSpm2Ns3DD1RA7r5XEgJneEZmPAmzilqxBpPRsfVI32W0GcJ5O/a19GmB7q392OIITPA=="], - "@herb-tools/rewriter": ["@herb-tools/rewriter@0.8.10", "", { "dependencies": { "@herb-tools/core": "0.8.10", "@herb-tools/tailwind-class-sorter": "0.8.10", "tinyglobby": "^0.2.15" } }, "sha512-Fak3lheNaiYXBfhi9U7aQjgBnziJ4EOtQr4j8BbkV5luH25Wc3LET3/aKn8w910ZQdfNmQ+rmBvVpJWq5XP+7g=="], + "@herb-tools/rewriter": ["@herb-tools/rewriter@0.9.7", "", { "dependencies": { "@herb-tools/core": "0.9.7", "@herb-tools/tailwind-class-sorter": "0.9.7", "tinyglobby": "^0.2.15" } }, "sha512-SBjvCUgHBfbUp0sIXA9bAVrBsTcJeKtHBCIYuyyusL43M+oNX12zVQx7R8kfgespOnPwL6JULkmzRAnurHQmLQ=="], - "@herb-tools/tailwind-class-sorter": ["@herb-tools/tailwind-class-sorter@0.8.10", "", { "dependencies": { "clear-module": "^4.1.2", "escalade": "^3.2.0", "jiti": "^2.5.1", "postcss": "^8.5.6", "postcss-import": "^16.1.1" }, "peerDependencies": { "tailwindcss": "^3.0 || ^4.0" } }, "sha512-bwvvQDiwfRP0BsziM+AFCnRkFZx7aSSCoo5qO2ox5R3nJKGUEQrG+JJF4fwrtT1phyjqBytDPtctpXps77J2HA=="], + "@herb-tools/tailwind-class-sorter": ["@herb-tools/tailwind-class-sorter@0.9.7", "", { "dependencies": { "clear-module": "^4.1.2", "escalade": "^3.2.0", "jiti": "^2.5.1", "postcss": "^8.5.10", "postcss-import": "^16.1.1" }, "peerDependencies": { "tailwindcss": "^3.0 || ^4.0" } }, "sha512-boyEUxnT4EVO3mzVldhrNTJI/eztXmURhestrHLVUOGNd7ow1tQ+8btCMKtI1MXgwRZCOO1YLwuVwk5Imu7XzA=="], "@humanfs/core": ["@humanfs/core@0.19.1", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="], @@ -665,7 +665,7 @@ "picocolors": ["picocolors@1.0.1", "", {}, "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew=="], - "picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], + "picomatch": ["picomatch@4.0.4", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], "pify": ["pify@2.3.0", "", {}, "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog=="], @@ -843,7 +843,7 @@ "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="], - "yaml": ["yaml@2.8.2", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A=="], + "yaml": ["yaml@2.8.3", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg=="], "yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="], @@ -855,12 +855,22 @@ "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], + "@herb-tools/config/tinyglobby": ["tinyglobby@0.2.16", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], + + "@herb-tools/printer/tinyglobby": ["tinyglobby@0.2.16", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], + + "@herb-tools/rewriter/tinyglobby": ["tinyglobby@0.2.16", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], + "@herb-tools/tailwind-class-sorter/escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + "@herb-tools/tailwind-class-sorter/postcss": ["postcss@8.5.12", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA=="], + "@jridgewell/gen-mapping/@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.0", "", {}, "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="], "@jridgewell/trace-mapping/@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.0", "", {}, "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="], + "@rollup/plugin-commonjs/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], + "@rollup/pluginutils/@types/estree": ["@types/estree@1.0.5", "", {}, "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="], "@rollup/pluginutils/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], @@ -897,6 +907,8 @@ "svgo/css-tree": ["css-tree@1.1.3", "", { "dependencies": { "mdn-data": "2.0.14", "source-map": "^0.6.1" } }, "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q=="], + "tinyglobby/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], + "vite/fdir": ["fdir@6.4.6", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w=="], "vite/picomatch": ["picomatch@4.0.2", "", {}, "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg=="], @@ -905,10 +917,14 @@ "vite/tinyglobby": ["tinyglobby@0.2.14", "", { "dependencies": { "fdir": "^6.4.4", "picomatch": "^4.0.2" } }, "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ=="], + "vitest/picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], + "whatwg-url/@exodus/bytes": ["@exodus/bytes@1.14.1", "", { "peerDependencies": { "@noble/hashes": "^1.8.0 || ^2.0.0" }, "optionalPeers": ["@noble/hashes"] }, "sha512-OhkBFWI6GcRMUroChZiopRiSp2iAMvEBK47NhJooDqz1RERO4QuZIZnjP63TXX8GAiLABkYmX+fuQsdJ1dd2QQ=="], "@bramus/specificity/css-tree/mdn-data": ["mdn-data@2.12.2", "", {}, "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA=="], + "@herb-tools/tailwind-class-sorter/postcss/picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], + "ansi-styles/color-convert/color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], "cloneable-readable/readable-stream/string_decoder": ["string_decoder@1.1.1", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="], diff --git a/package.json b/package.json index f969948045..368ea72377 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "tinymce": "^8.5.0" }, "devDependencies": { - "@herb-tools/linter": "^0.8.10", + "@herb-tools/linter": "^0.9.7", "@rollup/plugin-commonjs": "^29.0.2", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", diff --git a/spec/dummy/app/views/alchemy/elements/_search.html.erb b/spec/dummy/app/views/alchemy/elements/_search.html.erb index cd210609bd..643edd125d 100644 --- a/spec/dummy/app/views/alchemy/elements/_search.html.erb +++ b/spec/dummy/app/views/alchemy/elements/_search.html.erb @@ -1,4 +1,3 @@ <%- cache(search) do -%> - <%= element_view_for(search) do |el| -%> - <%- end -%> + <%= element_view_for(search) -%> <%- end -%>