mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 10:55:49 +08:00
DEV: Enable and fix the 'no-duplicate-attributes' lint
This commit is contained in:
parent
7c14d9ae9f
commit
17211b940f
@ -16,7 +16,7 @@ module.exports = {
|
|||||||
"no-args-paths": true,
|
"no-args-paths": true,
|
||||||
"no-attrs-in-components": true,
|
"no-attrs-in-components": true,
|
||||||
"no-debugger": true,
|
"no-debugger": true,
|
||||||
"no-duplicate-attributes": false,
|
"no-duplicate-attributes": true,
|
||||||
"no-extra-mut-helper-argument": true,
|
"no-extra-mut-helper-argument": true,
|
||||||
"no-html-comments": true,
|
"no-html-comments": true,
|
||||||
"no-index-component-invocation": true,
|
"no-index-component-invocation": true,
|
||||||
|
@ -213,7 +213,7 @@
|
|||||||
{{else}}
|
{{else}}
|
||||||
<div class='saving-text'>
|
<div class='saving-text'>
|
||||||
{{#if model.createdPost}}
|
{{#if model.createdPost}}
|
||||||
{{i18n 'composer.saved'}} <a href class='permalink' href={{createdPost.url}} {{action "viewNewReply"}}>{{i18n 'composer.view_new_post'}}</a>
|
{{i18n 'composer.saved'}} <a class='permalink' href={{createdPost.url}} {{action "viewNewReply"}}>{{i18n 'composer.view_new_post'}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{i18n 'composer.saving'}} {{loading-spinner size="small"}}
|
{{i18n 'composer.saving'}} {{loading-spinner size="small"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
options=(hash
|
options=(hash
|
||||||
filterable=true
|
filterable=true
|
||||||
categoryId=buffered.category_id
|
categoryId=buffered.category_id
|
||||||
filterable=true
|
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user