File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
client/src/components/layouts Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,8 @@ class TcIntegrationLayout extends Component<TcIntegrationLayoutProps> {
114
114
}
115
115
116
116
externalLinkHandler = ( event : MouseEvent ) => {
117
+ // prettier sucks
118
+
117
119
// if we're not clicking an anchor tag, there's nothing to do
118
120
const eventTarget = event . target as HTMLElement ;
119
121
if ( eventTarget ?. localName !== 'a' ) {
Original file line number Diff line number Diff line change 81
81
"lint:challenges" : " cd ./curriculum && npm run lint" ,
82
82
"lint:js" : " eslint --max-warnings 0 ." ,
83
83
"lint:ts" : " tsc && tsc -p config && tsc -p tools/ui-components && tsc -p utils" ,
84
+ "lint:prettier" : " prettier --list-different ." ,
84
85
"seed" : " cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser" ,
85
86
"seed:certified-user" : " cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser certUser" ,
86
87
"serve:client" : " cd ./client && npm run serve" ,
You can’t perform that action at this time.
0 commit comments