Skip to content

Commit 5c43623

Browse files
committed
fix lint
1 parent 81d8f26 commit 5c43623

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

app/components/class-field-description.gjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import MarkdownToHtml from 'ember-cli-showdown/components/markdown-to-html';
1515
* @param {[{name: string}]} items
1616
*/
1717
function combineNames(items) {
18-
return items.map(item => item.name).join(', ')
18+
return items.map((item) => item.name).join(', ');
1919
}
2020

2121
export default class ClassFieldDescription extends Component {
@@ -27,7 +27,9 @@ export default class ClassFieldDescription extends Component {
2727
<span class="{{@type}}-name">
2828
{{@field.name}}
2929
</span>
30-
{{#if @field.params}}(<span class="args">{{combineNames @field.params}}</span>){{/if}}
30+
{{#if @field.params}}(<span class="args">{{combineNames
31+
@field.params
32+
}}</span>){{/if}}
3133
{{#if @field.return}}
3234
:
3335
<span class="return-type">{{@field.return.type}}</span>

eslint.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ export default [
4343
* https://eslint.org/docs/latest/use/configure/ignore
4444
*/
4545
{
46-
ignores: ['dist/', 'node_modules/', 'coverage/', '!**/.*'],
46+
ignores: [
47+
'dist/',
48+
'node_modules/',
49+
'coverage/',
50+
'!**/.*',
51+
'ember-api-docs-data',
52+
],
4753
},
4854
/**
4955
* https://eslint.org/docs/latest/use/configure/configuration-files#configuring-linter-options

0 commit comments

Comments
 (0)