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

command yarn run lint does not run on the correct files #29159

Closed
fabOnReact opened this issue Jun 17, 2020 · 2 comments
Closed

command yarn run lint does not run on the correct files #29159

fabOnReact opened this issue Jun 17, 2020 · 2 comments
Labels
Needs: Triage 🔍 Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@fabOnReact
Copy link
Contributor

fabOnReact commented Jun 17, 2020

Description

I WILL FIX THIS ISSUE 😃

After troubleshooting CI Errors on #29157 I noticed that the command yarn run lint is checking the linting for wrong files in local development enviroment. For example files like:

/home/fabrizio/Documents/sourcecode/opensource/react-native/buck-out/gen/ReactAndroid/src/androidTest/assets/assets#assets-symlink-tree/assets/AndroidTestBundle.js   

The log:

Screenshot from 2020-06-17 18-25-01

I could fix this by just running yarn eslint RNTester/js/examples/Text/TextExample.android.js --quiet

React Native version:

System:
    OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 168.21 MB / 15.53 GB
    Shell: 5.7.1 - /usr/bin/zsh
  Binaries:
    Node: 12.18.0 - /tmp/yarn--1592411287583-0.6498465745229984/node
    Yarn: 1.22.4 - /tmp/yarn--1592411287583-0.6498465745229984/yarn
    npm: 6.14.4 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 19, 22, 23, 24, 28, 29
      Build Tools: 20.0.0, 23.0.1, 24.0.0, 28.0.3, 29.0.2, 29.0.3
      System Images: android-19 | ARM EABI v7a, android-19 | Google APIs ARM EABI v7a, android-19 | Google APIs Intel x86 Atom, android-23 | Google APIs ARM EABI v7a, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-28 | Android TV Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
      Android NDK: 17.2.4988734
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
  Languages:
    Java: 11.0.7 - /usr/bin/javac
    Python: 2.7.17 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: ^4.10.0 => 4.7.0
    react: 16.13.1 => 16.13.1
    react-native: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
Done in 5.54s.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. cd react-native
  2. yarn run lint

Expected Results

Only the relevant errors are displayed

@stale
Copy link

stale bot commented Sep 20, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Sep 20, 2020
@stale
Copy link

stale bot commented Oct 4, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Oct 4, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants