# Unexpected {{Partial}} Usage

**URL:** <https://discuss.emberjs.com/t/unexpected-partial-usage/15423>\
**Category:** Ember CLI\
**Created:** [September 7, 2018, 4:48am UTC](https://discuss.emberjs.com/t/unexpected-partial-usage/15423 "2018-09-07T04:48:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![papakay19](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/papakay19/32/12297_2.png) [@papakay19](https://discuss.emberjs.com/u/papakay19)\
**Post date:** [September 7, 2018, 4:48am UTC](https://discuss.emberjs.com/t/unexpected-partial-usage/15423/1 "2018-09-07T04:48:40Z")

</div>

Please i’m have a template lint error with this line of my code

```auto
{{partial "-sales-table-header"}}

```

Ember 3.4.1 Ember Cli 3.4.1 Ember Template lint 1.0.0-beta.1

---

<div class="post-metadata">

**Author:** ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)\
**Post date:** [September 7, 2018, 2:14pm UTC](https://discuss.emberjs.com/t/unexpected-partial-usage/15423/2 "2018-09-07T14:14:35Z")

</div>

That is the [no-partial lint rule](https://github.com/ember-template-lint/ember-template-lint/blob/fba0b1e737afe9e90824b00fcdf27122219a9c4a/docs/rule/no-partial.md).

You can [customize the lint rules](https://github.com/ember-template-lint/ember-template-lint#configuration) if you don’t want to refactor your code right now.

Or refactor to not use `partial`. Components can do everything partials can, in a way that is much more optimizable and readable.

---

<div class="post-metadata">

**Author:** ![papakay19](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/papakay19/32/12297_2.png) [@papakay19](https://discuss.emberjs.com/u/papakay19)\
**Post date:** [September 7, 2018, 5:39pm UTC](https://discuss.emberjs.com/t/unexpected-partial-usage/15423/3 "2018-09-07T17:39:48Z")

</div>

@ef4, thanks for the direction. I really appreciate.
