chore: 🤖 Enable stylistic linting rules (#1298)

This commit is contained in:
Zhihe Li authored and GitHub committed 2022-09-07 16:21:27 -04:00
1 parent d930c3da3a
commit 34da192ef9
53 files changed
+301 -123

No files matched your search

+3 -2
View File
@@ -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}}
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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",
+1
View File
@@ -53,6 +53,7 @@ themes:
light: Light
dark: Dark
onboarding:
title: Onboarding
quick-start:
titles:
choose-path: Welcome to Boundary