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

import/order working inconsistently on multiple platforms #1710

Closed
RadarCZ opened this issue Mar 30, 2020 · 2 comments
Closed

import/order working inconsistently on multiple platforms #1710

RadarCZ opened this issue Mar 30, 2020 · 2 comments

Comments

@RadarCZ
Copy link

RadarCZ commented Mar 30, 2020

I have a project, wiriting it on Windows 10 machine in vscode, then deploying it to Debian 10 VPS. ESLint is dev-dependency, same as typescript, tslint, eslint-plugin-import. ESLint configuration is same for both machines, as well as the run script for ESLint.

When I run ESLint on Windows, fix it, then deploy the project to VPS and run ESLint there, it reports errors from import/order. Other way around, when I fix it on server with --fix option then download the code back to Windows, Windows version reports the errors, which should be fixed from VPS.

@ljharb
Copy link
Member

ljharb commented Mar 31, 2020

Can you confirm your git autocrlf settings?

Can you provide examples of what exactly is being ordered? In other words, i'm wondering if there's filesystem differences - case sensitivity, for example.

@waterfoul
Copy link

This is a duplicate of #1692 which is fixed

@ljharb ljharb closed this as completed Mar 31, 2020
@ljharb ljharb changed the title import/order working inconsistenly on multiple platforms import/order working inconsistently on multiple platforms Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants