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,13 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
extends: ['recommended'],
|
||||
extends: ['recommended', 'stylistic'],
|
||||
rules: {
|
||||
'no-passed-in-event-handlers': false,
|
||||
'no-bare-strings': true,
|
||||
'no-curly-component-invocation': { allow: ['app-name'] },
|
||||
'no-implicit-this': { allow: ['app-name', 'is-loading'] },
|
||||
quotes: 'single',
|
||||
'eol-last': 'editorconfig',
|
||||
'self-closing-void-elements': false,
|
||||
'block-indentation': false,
|
||||
'no-route-action': false,
|
||||
},
|
||||
};
|
||||
@@ -6,7 +6,7 @@
|
||||
<p>{{t 'resources.auth-method.messages.pending.description'}}</p>
|
||||
<p>
|
||||
{{t 'resources.auth-method.questions.no-see-window'}}
|
||||
<a href='{{this.authURL}}' target='_blank' rel='noreferrer noopener'>
|
||||
<a href={{this.authURL}} target='_blank' rel='noreferrer noopener'>
|
||||
{{t 'actions.retry'}}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<Rose::Toolbar as |toolbar|>
|
||||
<toolbar.primary>
|
||||
<Rose::Form as |form|>
|
||||
{{#with
|
||||
{{#let
|
||||
(resource-filter 'scopes.scope.projects.sessions' 'status')
|
||||
as |filter|
|
||||
}}
|
||||
@@ -37,9 +37,9 @@
|
||||
</dropdown.item>
|
||||
</form.checkboxGroup>
|
||||
</Rose::Dropdown>
|
||||
{{/with}}
|
||||
{{/let}}
|
||||
|
||||
{{#with
|
||||
{{#let
|
||||
(resource-filter 'scopes.scope.projects.sessions' 'project')
|
||||
as |filter|
|
||||
}}
|
||||
@@ -50,7 +50,7 @@
|
||||
as |dropdown|
|
||||
>
|
||||
<ul>
|
||||
{{#with
|
||||
{{#let
|
||||
(group-by filter.allowedValues 'scopeModel')
|
||||
as |groups|
|
||||
}}
|
||||
@@ -83,10 +83,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
{{/let}}
|
||||
</ul>
|
||||
</Rose::Dropdown>
|
||||
{{/with}}
|
||||
{{/let}}
|
||||
|
||||
{{#if
|
||||
(has-resource-filter-selections
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<Rose::Toolbar as |toolbar|>
|
||||
<toolbar.primary>
|
||||
<Rose::Form as |form|>
|
||||
{{#with
|
||||
{{#let
|
||||
(resource-filter 'scopes.scope.projects.targets' 'project')
|
||||
as |filter|
|
||||
}}
|
||||
@@ -31,7 +31,7 @@
|
||||
as |dropdown|
|
||||
>
|
||||
<ul>
|
||||
{{#with
|
||||
{{#let
|
||||
(group-by filter.allowedValues 'scopeModel')
|
||||
as |groups|
|
||||
}}
|
||||
@@ -64,10 +64,10 @@
|
||||
</ul>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
{{/let}}
|
||||
</ul>
|
||||
</Rose::Dropdown>
|
||||
{{/with}}
|
||||
{{/let}}
|
||||
|
||||
{{#if
|
||||
(has-resource-filter-selections
|
||||
|
||||
@@ -97,7 +97,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",
|
||||
"ember-wormhole": "^0.6.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
|
||||
Reference in new issue
Block a user