Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdk authored and elpoelma committed Jul 6, 2022
1 parent 101848b commit 94e128d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
browser: true,
},
rules: {
'ember/no-mixins': 'warn',
semi: [2, 'always'],
},
overrides: [
Expand Down
10 changes: 5 additions & 5 deletions app/components/mu-login.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{#if this.errorMessage}}
<AuAlert @size="tiny" @skin="error">
<p>{{this.errorMessage}}</p>
</AuAlert>
</AuAlert>
{{/if}}
<form {{on "submit" this.login}}>
<div>
<AuLabel for="nickname">
Username&nbsp;
<AuLabel for="nickname}}">
{{t 'login.username'}}
</AuLabel>
<AuInput
type="text"
Expand All @@ -16,7 +16,7 @@
</div>
<div>
<AuLabel for="password">
Password&nbsp;
{{t 'login.password'}
</AuLabel>
<AuInput
@type="password"
Expand All @@ -28,7 +28,7 @@
<div>
<AuButton
type="submit">
Log In
{{t 'login.submit'}}
</AuButton>
</div>
</form>
Expand Down
3 changes: 1 addition & 2 deletions app/components/mu-login.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import MuLoginComponent from 'ember-mu-login/components/mu-login';

export default class MyMuLoginComponent extends MuLoginComponent {
}
export default class MyMuLoginComponent extends MuLoginComponent {}
5 changes: 4 additions & 1 deletion translations/en-US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ mock-login:
choose: "Choose a governing body to login."
searchlabel: "Search governing body"
placeholder: "Aalst, Berchem, …"

login:
username: Username
password: Password
submit: Log In
4 changes: 4 additions & 0 deletions translations/nl-BE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ mock-login:
choose: "Kies een bestuurseenheid om mee in te loggen."
searchlabel: "Bestuurseenheid zoeken"
placeholder: "Aalst, Berchem, …"
login:
username: Gebruikersnaam
password: Wachtwoord
submit: Inloggen

0 comments on commit 94e128d

Please sign in to comment.