discourse/.template-lintrc.js
David Taylor 585c584fdb
Revert "DEV: Remove usage of {{action}} modifiers (#18333)" (#18469)
This reverts commit ba27ee1637.

We found some issues with handling of cmd/ctrl/shift + click on `<a` elements
2022-10-04 12:27:26 +01:00

23 lines
614 B
JavaScript

module.exports = {
plugins: ["ember-template-lint-plugin-discourse"],
extends: "discourse:recommended",
rules: {
"no-capital-arguments": false, // TODO: we extensively use `args` argument name
"no-curly-component-invocation": {
allow: [
// These are helpers, not components
"directory-item-header-title",
"directory-item-user-field-value",
"directory-item-value",
"directory-table-header-title",
"loading-spinner",
"mobile-directory-item-label",
],
},
"no-implicit-this": {
allow: ["loading-spinner"],
},
},
};