Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Set up lint and test#1

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SimenB merged 9 commits intomasterfromsetup
Nov 9, 2017
Merged

Set up lint and test#1

SimenB merged 9 commits intomasterfromsetup
Nov 9, 2017

Conversation

SimenB
Copy link
Member

@SimenBSimenB commentedNov 8, 2017
edited
Loading

Not sure what we want here, so I just threw together something that works.

  • Do we want flow?
  • Do we want babel?

Other:

  • Do we want pre-commit hooks for formatting?
  • Do we want Travis or Circle?
  • Do we want to support node 4?

@orta
Copy link
Member

orta commentedNov 8, 2017

As it's not an externally used lib flow isn't too important to me, and without flow then it doesn't need babel 👍

Do we want pre-commit hooks for formatting?

pre-commit with Prettier is a big 👍 for me

Travis vs Circle

Travis is used on some of the others?

Node 4

I don't have strong opinions - it's still actively supported by node though

@SimenB
Copy link
MemberAuthor

SimenB commentedNov 8, 2017
edited
Loading

Ok, made those changes.

Tests are failing on node 4 with a really useless error.

One issue with not dropping node 4 is that we won't be able to upgrade jest. Not a huge issue, I guess 🙂

EDIT: Stupid error. Actually running it on node made it obvious, not sure why the error thrown by jest (vianew vm.Script()) is so useless.

/Users/simbekkh/repos/eslint-plugin-jest/ugh.js:3const { RuleTester } = require('eslint');      ^SyntaxError: Unexpected token {    at exports.runInThisContext (vm.js:53:16)    at Module._compile (module.js:373:25)    at Object.Module._extensions..js (module.js:416:10)    at Module.load (module.js:343:32)    at Function.Module._load (module.js:300:12)    at Function.Module.runMain (module.js:441:10)    at startup (node.js:140:18)    at node.js:1043:3

yarn: true
branches:
only:
- master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

geez, I love Travis config being so simple compared to Circle 2

},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

add"bracketSpacing": false maybe?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

do you prefer it? Seems like a fb-ism. Happy to add, of course, I don't really care as long as it's formatted for me :D

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I have no preference, just that the diff would be smaller :D. We can scratch that

@SimenB
Copy link
MemberAuthor

#yolo

@SimenBSimenB merged commit8cb5e56 intomasterNov 9, 2017
@SimenBSimenB deleted the setup branchNovember 9, 2017 07:24
@SimenBSimenB mentioned this pull requestNov 26, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@thymikeethymikeethymikee left review comments

@ortaortaAwaiting requested review from orta

@rogeliogrogeliogAwaiting requested review from rogeliog

@pedrottimarkpedrottimarkAwaiting requested review from pedrottimark

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@SimenB@orta@thymikee

[8]ページ先頭

©2009-2025 Movatter.jp