Skip to content

Commit 162eb27

Browse files
TCA-355 fix prettier crap
1 parent 4bda510 commit 162eb27

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client/src/components/layouts/tc-integration.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ class TcIntegrationLayout extends Component<TcIntegrationLayoutProps> {
114114
}
115115

116116
externalLinkHandler = (event: MouseEvent) => {
117+
// prettier sucks
118+
117119
// if we're not clicking an anchor tag, there's nothing to do
118120
const eventTarget = event.target as HTMLElement;
119121
if (eventTarget?.localName !== 'a') {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"lint:challenges": "cd ./curriculum && npm run lint",
8282
"lint:js": "eslint --max-warnings 0 .",
8383
"lint:ts": "tsc && tsc -p config && tsc -p tools/ui-components && tsc -p utils",
84+
"lint:prettier": "prettier --list-different .",
8485
"seed": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
8586
"seed:certified-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser certUser",
8687
"serve:client": "cd ./client && npm run serve",

0 commit comments

Comments
 (0)