Skip to content

Conversation

@hypest
Copy link
Contributor

@hypest hypest commented Aug 13, 2018

The params passed to eslint command line specifying which source files to check were missing the subdirectories inside the src directory. See this comment for example. This PR replaces the glob definition with the all-catching ..

The submodules are left out of the list though (see .eslintignore file) since those are checked in their respective repositories.

Also in this PR:

  • Fix for the yarn prettier command to use prettier-eslint-cli
  • Apply the @flow pragma to more source files so Flow should check those too

To test:

  • compile and run the app; everything should run just fine
  • run the linter (yarn lint) and tests (yarn test); all should run fine as well
  • run the Flow checker (yarn flow); no warnings/errors should be emitted
  • run Prettier (yarn prettier) which also should run fine and introduce no changes to the code files
  • run the linter in fix mode (yarn lint:fix) which also should run fine and introduce no changes to the code files

hypest added 3 commits August 13, 2018 15:48
Also, add `prettier-eslint-cli` which is needed for running Prettier
from the command line (and the `prettier` yarn script).
@hypest hypest requested a review from etoledom August 13, 2018 15:57
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

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

Nice catch and great additions! 🎉

All commands mentioned worked perfectly and gave a clean output ✅

@hypest hypest merged commit efb8321 into master Aug 13, 2018
@hypest hypest deleted the fix/eslint-misses-src-subdirs branch August 13, 2018 16:54
hypest added a commit that referenced this pull request Jan 3, 2019
Point to Aztec with fix for backspace on paste
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.

3 participants