mirror of
https://github.com/discourse/discourse.git
synced 2025-04-27 19:04:29 +08:00
DEV: Enable no-curly-component-invocation
lint rule
This will ensure we invoke components consistently across our codebase
This commit is contained in:
parent
c011dd7b43
commit
24413e5a11
@ -49,5 +49,16 @@ module.exports = {
|
|||||||
"style-concatenation": true,
|
"style-concatenation": true,
|
||||||
"table-groups": true,
|
"table-groups": true,
|
||||||
"link-href-attributes": false,
|
"link-href-attributes": false,
|
||||||
|
"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",
|
||||||
|
],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user