mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:02:19 +00:00
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
13 lines
314 B
JavaScript
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,
|
|
},
|
|
};
|