chore: 🤖 Enable stylistic linting rules (#1298)
This commit is contained in:
1 parent
d930c3da3a
commit
34da192ef9
53 files changed
+301
-123
No files matched your search
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: 'octane',
|
||||
extends: ['recommended', 'stylistic'],
|
||||
};
|
||||
@@ -58,7 +58,7 @@
|
||||
"ember-qunit": "^5.1.4",
|
||||
"ember-resolver": "^8.0.3",
|
||||
"ember-source": "~3.28.4",
|
||||
"ember-template-lint": "^3.16.0",
|
||||
"ember-template-lint": "^4.14.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-ember": "^10.6.1",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: 'octane',
|
||||
extends: ['recommended', 'stylistic'],
|
||||
};
|
||||
@@ -50,7 +50,7 @@
|
||||
"ember-qunit": "^5.1.4",
|
||||
"ember-resolver": "^8.0.3",
|
||||
"ember-source": "~3.28.4",
|
||||
"ember-template-lint": "^3.16.0",
|
||||
"ember-template-lint": "^4.14.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-ember": "^10.6.1",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: ['recommended'],
|
||||
extends: ['recommended', 'stylistic'],
|
||||
rules: {
|
||||
quotes: 'single',
|
||||
'eol-last': 'editorconfig',
|
||||
'self-closing-void-elements': false,
|
||||
'block-indentation': false,
|
||||
},
|
||||
};
|
||||
@@ -4,9 +4,9 @@
|
||||
@icon={{this.icon}}
|
||||
as |message|
|
||||
>
|
||||
<message.description>{{t
|
||||
(concat 'errors.' this.messageCode '.description')
|
||||
}}</message.description>
|
||||
<message.description>
|
||||
{{t (concat 'errors.' this.messageCode '.description')}}
|
||||
</message.description>
|
||||
{{#if this.helpRoute}}
|
||||
<message.link @route={{this.helpRoute}}>{{t 'actions.help'}}</message.link>
|
||||
{{/if}}
|
||||
|
||||
@@ -11,9 +11,9 @@ import { action } from '@ember/object';
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* {{#with resource-filter 'status' as |param|}}
|
||||
* {{#let resource-filter 'status' as |param|}}
|
||||
* {{param.name}} / {{param.value}} / {{param.selectedValue}}
|
||||
* {{/with}}
|
||||
* {{/let}}
|
||||
*/
|
||||
export default class ResourceFilterHelper extends Helper {
|
||||
// =services
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
"ember-qunit": "^5.1.4",
|
||||
"ember-resolver": "^8.0.3",
|
||||
"ember-source": "~3.28.4",
|
||||
"ember-template-lint": "^3.16.0",
|
||||
"ember-template-lint": "^4.14.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-ember": "^10.6.1",
|
||||
|
||||
@@ -53,6 +53,7 @@ themes:
|
||||
light: Light
|
||||
dark: Dark
|
||||
onboarding:
|
||||
title: Onboarding
|
||||
quick-start:
|
||||
titles:
|
||||
choose-path: Welcome to Boundary
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: ['recommended'],
|
||||
extends: ['recommended', 'stylistic'],
|
||||
rules: {
|
||||
quotes: 'single',
|
||||
'eol-last': 'editorconfig',
|
||||
'self-closing-void-elements': false,
|
||||
'block-indentation': false,
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
||||
@@ -6,11 +6,9 @@
|
||||
{{yield}}
|
||||
{{#if @link}}
|
||||
{{#if @linkText}}
|
||||
<a
|
||||
href={{@link}}
|
||||
target='_blank'
|
||||
rel='noreferrer noopener'
|
||||
>{{@linkText}}</a>
|
||||
<a href={{@link}} target='_blank' rel='noreferrer noopener'>
|
||||
{{@linkText}}
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</span>
|
||||
@@ -2,7 +2,7 @@
|
||||
...attributes
|
||||
class='rose-notification is-{{@style}}{{if @dismiss ' is-dismissible'}}'
|
||||
role='alert'
|
||||
aria-live='{{if @dismiss 'assertive'}}'
|
||||
aria-live={{if @dismiss 'assertive'}}
|
||||
aria-atomic='true'
|
||||
>
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"ember-qunit": "^5.1.4",
|
||||
"ember-resolver": "^8.0.3",
|
||||
"ember-source": "~3.28.4",
|
||||
"ember-template-lint": "^3.16.0",
|
||||
"ember-template-lint": "^4.14.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-ember": "^10.6.1",
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
<Rose::Toolbar as |toolbar|>
|
||||
<Rose::Button
|
||||
@style='inline-link-action'
|
||||
@iconLeft='flight-icons/svg/x-16'
|
||||
>Clear somthing</Rose::Button>
|
||||
<Rose::Button @style='inline-link-action' @iconLeft='flight-icons/svg/x-16'>
|
||||
Clear something
|
||||
</Rose::Button>
|
||||
<toolbar.primary>
|
||||
<Rose::Form>
|
||||
<Rose::Button
|
||||
@style='inline-link-action'
|
||||
@iconLeft='flight-icons/svg/x-16'
|
||||
>Clear somthing</Rose::Button>
|
||||
>
|
||||
Clear something
|
||||
</Rose::Button>
|
||||
<Rose::Button
|
||||
@style='inline-link-action'
|
||||
@iconLeft='flight-icons/svg/x-16'
|
||||
>Clear somthing</Rose::Button>
|
||||
>
|
||||
Clear something
|
||||
</Rose::Button>
|
||||
</Rose::Form>
|
||||
</toolbar.primary>
|
||||
<toolbar.secondary>
|
||||
@@ -20,7 +23,9 @@
|
||||
<Rose::Button
|
||||
@style='inline-link-action'
|
||||
@iconLeft='flight-icons/svg/x-16'
|
||||
>Refresh</Rose::Button>
|
||||
>
|
||||
Refresh
|
||||
</Rose::Button>
|
||||
</Rose::Form>
|
||||
</toolbar.secondary>
|
||||
</Rose::Toolbar>
|
||||
@@ -86,7 +86,9 @@
|
||||
@style='secondary'
|
||||
@iconOnly='flight-icons/svg/trash-16'
|
||||
title='Remove'
|
||||
>Remove</Rose::Button>
|
||||
>
|
||||
Remove
|
||||
</Rose::Button>
|
||||
</item.cell>
|
||||
</list.item>
|
||||
</Rose::Form::Input>
|
||||
|
||||
Reference in new issue
Block a user