discourse/.template-lintrc.js
Joffrey JAFFEUX f1bb1db354
DEV: enforces ember-template-lint: no-unbound (#9147)
From ember-template-lint documentation (https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-unbound.md):

```
{{unbound}} is a legacy hold over from the days in which Ember's template engine was less performant. Its use today is vestigial, and it no longer offers performance benefits.

It is also a poor practice to use it for rendering only the initial value of a property that may later change.
```

Co-Authored-By: Jarek Radosz <jradosz@gmail.com>
2020-03-09 15:28:31 +01:00

17 lines
378 B
JavaScript

module.exports = {
// extends: "recommended",
ignore: ["**/*.raw"],
rules: {
"self-closing-void-elements": true,
"table-groups": true,
"style-concatenation": true,
"no-invalid-interactive": true,
"link-rel-noopener": true,
"no-unnecessary-concat": true,
"no-unused-block-params": true,
"no-unbound": true,
"simple-unless": true
}
};