Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nickviola committed Nov 30, 2023
1 parent ef0c80f commit 7bfef58
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
4 changes: 2 additions & 2 deletions backend/src/api/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const sendUserNotificationEmail = async (
path: '/app/src/email_templates/instagram.png',
cid: 'CISA Instagram'
}
]
]
};

await transporter.sendMail(mailOptions);
Expand Down Expand Up @@ -233,7 +233,7 @@ export const sendRegionalAdminNotificationEmail = async (
path: '/app/src/email_templates/instagram.png',
cid: 'CISA Instagram'
}
]
]
};

await transporter.sendMail(mailOptions);
Expand Down
82 changes: 41 additions & 41 deletions backend/src/api/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,64 +141,64 @@ class UpdateUser {
}

const REGION_STATE_MAP = {
'Connecticut': '1',
'Maine': '1',
'Massachusetts': '1',
Connecticut: '1',
Maine: '1',
Massachusetts: '1',
'New Hampshire': '1',
'Rhode Island': '1',
'Vermont': '1',
Vermont: '1',
'New Jersey': '2',
'New York': '2',
'Puerto Rico': '2',
'Virgin Islands': '2',
'Delaware': '3',
'Maryland': '3',
'Pennsylvania': '3',
'Virginia': '3',
Delaware: '3',
Maryland: '3',
Pennsylvania: '3',
Virginia: '3',
'District of Columbia': '3',
'West Virginia': '3',
'Alabama': '4',
'Florida': '4',
'Georgia': '4',
'Kentucky': '4',
'Mississippi': '4',
Alabama: '4',
Florida: '4',
Georgia: '4',
Kentucky: '4',
Mississippi: '4',
'North Carolina': '4',
'South Carolina': '4',
'Tennessee': '4',
'Illinois': '5',
'Indiana': '5',
'Michigan': '5',
'Minnesota': '5',
'Ohio': '5',
'Wisconsin': '5',
'Arkansas': '6',
'Louisiana': '6',
Tennessee: '4',
Illinois: '5',
Indiana: '5',
Michigan: '5',
Minnesota: '5',
Ohio: '5',
Wisconsin: '5',
Arkansas: '6',
Louisiana: '6',
'New Mexico': '6',
'Oklahoma': '6',
'Texas': '6',
'Iowa': '7',
'Kansas': '7',
'Missouri': '7',
'Nebraska': '7',
'Colorado': '8',
'Montana': '8',
Oklahoma: '6',
Texas: '6',
Iowa: '7',
Kansas: '7',
Missouri: '7',
Nebraska: '7',
Colorado: '8',
Montana: '8',
'North Dakota': '8',
'South Dakota': '8',
'Utah': '8',
'Wyoming': '8',
'Arizona': '9',
'California': '9',
'Hawaii': '9',
'Nevada': '9',
'Guam': '9',
Utah: '8',
Wyoming: '8',
Arizona: '9',
California: '9',
Hawaii: '9',
Nevada: '9',
Guam: '9',
'American Samoa': '9',
'Commonwealth Northern Mariana Islands': '9',
'Republic of Marshall Islands': '9',
'Federal States of Micronesia': '9',
'Alaska': '10',
'Idaho': '10',
'Oregon': '10',
'Washington': '10'
Alaska: '10',
Idaho: '10',
Oregon: '10',
Washington: '10'
}

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (94% of all statements in
the enclosing script
have an explicit semicolon).


Expand Down

0 comments on commit 7bfef58

Please sign in to comment.