discourse/.template-lintrc.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
614 B
JavaScript
Raw Normal View History

2020-02-05 11:33:15 -05:00
module.exports = {
plugins: ["ember-template-lint-plugin-discourse"],
extends: "discourse:recommended",
2020-02-05 11:33:15 -05:00
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"],
},
},
2020-02-05 11:33:15 -05:00
};