Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit c39c04a

Browse files
author
Sashko Stubailo
committed
Fix linter issues
1 parent 029bace commit c39c04a

5 files changed

+14
-13
lines changed

.eslintignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
packages/collection2
2-
packages/npm-container
3-
**/package.js
1+
packages

init.js

-1
This file was deleted.

server/reset-password-email.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Accounts.emailTemplates.siteName = "Meteor Guide Todos Example";
2-
Accounts.emailTemplates.from = "Meteor Todos Accounts <[email protected]>";
1+
Accounts.emailTemplates.siteName = 'Meteor Guide Todos Example';
2+
Accounts.emailTemplates.from = 'Meteor Todos Accounts <[email protected]>';
33

44
Accounts.emailTemplates.resetPassword = {
5-
subject(user) {
6-
return "Reset your password on Meteor Todos";
5+
subject() {
6+
return 'Reset your password on Meteor Todos';
77
},
88
text(user, url) {
99
return `Hello!
@@ -16,7 +16,7 @@ If you didn't request this email, please ignore it.
1616
1717
Thanks,
1818
The Meteor Todos team
19-
`
19+
`;
2020
},
2121
// html(user, url) {
2222
// return `

server/security.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { DDPRateLimiter } from 'ddp-rate-limiter';
2+
13
// Don't let people write arbitrary data to their 'profile' field from the client
24
Meteor.users.deny({
35
update() {

useraccounts-configuration.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
import { AccountsTemplates } from 'useraccounts:core';
2+
13
AccountsTemplates.configure({
24
showForgotPasswordLink: true,
35
texts: {
46
errors: {
5-
loginForbidden: "Incorrect username or password",
6-
pwdMismatch: "Passwords don't match",
7+
loginForbidden: 'Incorrect username or password',
8+
pwdMismatch: 'Passwords don\'t match',
79
},
810
title: {
9-
signIn: "Sign In",
10-
signUp: "Join",
11+
signIn: 'Sign In',
12+
signUp: 'Join',
1113
}
1214
},
1315
defaultTemplate: 'Auth_page',

0 commit comments

Comments
 (0)