diff --git a/client/.eslintrc.json b/client/.eslintrc.json index f7b207b58..a297cdc94 100644 --- a/client/.eslintrc.json +++ b/client/.eslintrc.json @@ -18,8 +18,7 @@ }, "extends": [ "../.eslintrc.json", - "plugin:@angular-eslint/ng-cli-compat", - "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", + "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/template/process-inline-templates" ], "rules": { @@ -155,6 +154,10 @@ "object-shorthand": [ "error", "properties" + ], + "quote-props": [ + "error", + "consistent-as-needed" ] } }, @@ -163,7 +166,8 @@ "*.html" ], "extends": [ - "plugin:@angular-eslint/template/recommended" + "plugin:@angular-eslint/template/recommended", + "plugin:@angular-eslint/template/accessibility" ], "rules": {} } diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts index 3c19e4e9a..96ddc67ca 100644 --- a/client/e2e/wdio.local-test.conf.ts +++ b/client/e2e/wdio.local-test.conf.ts @@ -25,15 +25,15 @@ module.exports = { capabilities: [ { - browserName: 'chrome', - acceptInsecureCerts: true, + 'browserName': 'chrome', + 'acceptInsecureCerts': true, 'goog:chromeOptions': { args: [ '--disable-gpu', windowSizeArg ], prefs } }, { - browserName: 'firefox', + 'browserName': 'firefox', 'moz:firefoxOptions': { binary: '/usr/bin/firefox-developer-edition', args: [ '--headless', windowSizeArg ], diff --git a/client/e2e/wdio.local.conf.ts b/client/e2e/wdio.local.conf.ts index 903235b86..5cdd69290 100644 --- a/client/e2e/wdio.local.conf.ts +++ b/client/e2e/wdio.local.conf.ts @@ -20,14 +20,14 @@ module.exports = { capabilities: [ { - browserName: 'chrome', + 'browserName': 'chrome', 'goog:chromeOptions': { args: [ '--headless', '--disable-gpu', windowSizeArg ], prefs } }, { - browserName: 'firefox', + 'browserName': 'firefox', 'moz:firefoxOptions': { binary: '/usr/bin/firefox-developer-edition', args: [ '--headless', windowSizeArg ], diff --git a/client/src/app/+about/about-instance/about-instance.resolver.ts b/client/src/app/+about/about-instance/about-instance.resolver.ts index 5c09b0f46..f52a95b88 100644 --- a/client/src/app/+about/about-instance/about-instance.resolver.ts +++ b/client/src/app/+about/about-instance/about-instance.resolver.ts @@ -16,7 +16,7 @@ export type ResolverData = { } @Injectable() -export class AboutInstanceResolver { +export class AboutInstanceResolver { constructor ( private instanceService: InstanceService, diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html index 2a4985964..66d108134 100644 --- a/client/src/app/+accounts/accounts.component.html +++ b/client/src/app/+accounts/accounts.component.html @@ -48,12 +48,12 @@
-