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

Integrate ESLint and Prettier #92

Merged
merged 4 commits into from
Jan 17, 2023

Conversation

friederbluemle
Copy link
Member

ESLint with @react-native-community config fully integrated and now running on CI.

The original commit dates back to November 2019, updated to work with eslint@^7/@react-native-community/eslint-config@^2

Also includes one commit that fixes usage of non-existent constants (previously undetected, as we did not run any checks).

Copy link
Contributor

@rthic23 rthic23 left a comment

Choose a reason for hiding this comment

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

lgtm. possible to fix the failing CI build?

@friederbluemle
Copy link
Member Author

lgtm. possible to fix the failing CI build?

Yes, will definitely make sure CI is green before merge. 👍

@friederbluemle
Copy link
Member Author

CI is passing now. The issue was due to automatic line ending conversion on Windows 🤦

Disabled it via:

      - if: runner.os == 'Windows'
        run: |
          git config --global core.autocrlf false
          git config --global core.eol lf

@friederbluemle friederbluemle merged commit d6966d6 into electrode-io:master Jan 17, 2023
@friederbluemle friederbluemle deleted the eslint branch January 17, 2023 01:11
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

Successfully merging this pull request may close these issues.

2 participants