-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEP Upgrade frontend build stack #481
DEP Upgrade frontend build stack #481
Conversation
import React from 'react'; | ||
|
||
export default ({ color = 'currentColor', size = '3em' }) => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height={size} width={size}> | ||
<g fill={color}> | ||
{/* eslint-ignore-line max-len */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't being picked up anymore
case SCREEN_INTRODUCTION: | ||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default
has to be the last case to pass linting
".*": "babel-jest" | ||
".[jt]s[mx]?$": "babel-jest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving this as .*
resulted in babel thinking the json imports were meant to be javascript, and tests were failing for missing semicolons in the json data.
3e71d68
to
34962d8
Compare
34962d8
to
53c786e
Compare
See silverstripe/silverstripe-admin#1389 for a wider discussion on most of the changes
Parent issue