-
Notifications
You must be signed in to change notification settings - Fork 1
Integrate travis coveralls and houndci #2
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
Integrate travis coveralls and houndci #2
Conversation
tests/example.spec.js
Outdated
| @@ -0,0 +1,14 @@ | |||
| import chai from 'chai'; | |||
|
|
|||
| const should = chai.should(); | |||
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.
'should' is assigned a value but never used no-unused-vars
| @@ -0,0 +1,14 @@ | |||
| import chai from 'chai'; | |||
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.
Unable to resolve path to module 'chai' import/no-unresolved
Missing file extension for "chai" import/extensions
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.
You can try to add this to .eslintrc to fix this:
"settings": {
"import/resolver": {
"node": {
"extensions": [".js",".jsx"]
}
}
}
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.
I've added this and it's still not working. Help me check the .eslintrc to see if I've added it correctly.
- add .hound.yml and .travis.yml files - install mochas, nyc and chai - write a sample test - add npm test to package.json [Finishes #156465076]
acd7a29 to
490b012
Compare
| @@ -0,0 +1,14 @@ | |||
| import chai from 'chai'; | |||
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.
Unable to resolve path to module 'chai' import/no-unresolved
Missing file extension for "chai" import/extensions
No description provided.