discourse/.template-lintrc.cjs
David Taylor 9ead2e6720
PERF: Introduce lazyHash and update PluginOutlet calls to use it (#32823)
This is a more efficient version of `{{hash`, where the values are only evaluated when they're actually accessed. Also enables a new lint rule which will ensure `{{hash` is not reintroduced on PluginOutlets
2025-05-22 12:07:22 +01:00

13 lines
314 B
JavaScript

const templateLint = require("@discourse/lint-configs/template-lint");
module.exports = {
...templateLint,
rules: {
...templateLint.rules,
"no-capital-arguments": false, // @args is used for MountWidget
"require-button-type": false,
"no-action": true,
"require-strict-mode": true,
},
};