-
Notifications
You must be signed in to change notification settings - Fork 6
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
ESLint and Prettier in Harmony #91
Conversation
@@ -134,7 +134,6 @@ module.exports = ({tasks, prompt, addPrompt}) => ({ | |||
async run(options) { | |||
const port = parseInt(url.parse(openUrls.storybook).port, 10); | |||
if(await tcpPortUsed.check(port)) { | |||
console.log(); |
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 was there deliberately. i like some whitespace in my cli output 🙂
@@ -16,13 +16,15 @@ export class InteractionClass extends Component { | |||
// additional render will be scheduled. | |||
Promise.resolve().then(() => { | |||
this.setState({ [loading]: true }, () => { | |||
/* eslint no-console:off */ | |||
console.log('didsetloading', this.state[loading]); |
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.
these shouldn't be here but they're removed in #59
@@ -62,9 +65,9 @@ export default class Search extends Component { | |||
</div>; | |||
} | |||
|
|||
search = ev => { | |||
search (ev) { |
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 will need to be bound now
packages/x-logo/index.js
Outdated
@@ -72,25 +72,20 @@ const xPoints = ({x, y, width, height, thickness}) => { | |||
} | |||
|
|||
export default class XLogo extends Component { | |||
static defaultProps = { |
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.
these missing default props are breaking the build
e501c2e
to
3ac1698
Compare
was just about to approve but noticed the base branch is |
Woah, good spot! |
🐿 v2.10.0
🐿 v2.10.0
🐿 v2.10.0
🐿 v2.10.0
🐿 v2.10.0
🐿 v2.10.0
🐿 v2.10.0
6835948
to
e858335
Compare
i mean, it had all the letters of |
Fixes #85
I haven't enabled the prettier plugin because it needs to do quite a bit of work to make itself happy... one for another PR!
I've tried to fix the eslint errors where possible to do so.