Skip to content
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

Linter issue #8

Closed
nkrmr opened this issue Feb 22, 2018 · 3 comments
Closed

Linter issue #8

nkrmr opened this issue Feb 22, 2018 · 3 comments

Comments

@nkrmr
Copy link

nkrmr commented Feb 22, 2018

When i launched my linter test there is an issue it doesn't find the global.navigator from your package, for him it is undefined. But it works well in the application.

screen shot 2018-02-22 at 11 46 42

screen shot 2018-02-22 at 11 49 20

Do you know why is global.navigator undefined?

@Agontuk
Copy link
Owner

Agontuk commented Feb 22, 2018

Not sure what's causing this, but you should only lint your own codes, not the ones in node_modules/*.

@Agontuk
Copy link
Owner

Agontuk commented May 29, 2018

Closing due to inactivity

@Agontuk Agontuk closed this as completed May 29, 2018
@oakis
Copy link
Contributor

oakis commented May 29, 2018

I think the global object is being created at runtime. You should just mock the global object.
This has nothing to do with react-native-geolocation-service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants