Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Different results from atom linter to cli #72

Closed
OmgImAlexis opened this issue Apr 23, 2017 · 3 comments
Closed

Different results from atom linter to cli #72

OmgImAlexis opened this issue Apr 23, 2017 · 3 comments

Comments

@OmgImAlexis
Copy link

OmgImAlexis commented Apr 23, 2017

If I run xo in terminal I don't get any issues for my file yet in atom I get warnings about Casting of jquery does not match the underlying filesystem. (import/no-unresolved) even thought jquery is added to my package.json.

Here's the first line in my file. I can provide more details if I know what's needed.

import {jQuery as $} from 'jquery';

I've also tried import $ from 'jquery'; and still have the same issue.

@OmgImAlexis
Copy link
Author

This may be related to import-js/eslint-plugin-import#720 but I'm not sure on that as I'm using OSX with a path of /Users/xo/code/medusa/static/js/helpers/config.js

@sindresorhus
Copy link
Owner

Is this still valid?

@OmgImAlexis
Copy link
Author

Honestly not sure. 🤷‍♀

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

No branches or pull requests

2 participants