Skip to content

Conversation

LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented Aug 16, 2019

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

The unit test packages support tests in /tests/unit and */__tests__/ folders, but eslint config for jest/mocha was only applied to the former

This PR adds overrides to the eslint config for files in the latter type of folder so eslint can successfully detect and lint jest/mocha globals

 for **/tests/** subfolders

close #4397
@haoqunjiang haoqunjiang merged commit 58177d2 into dev Aug 21, 2019
@haoqunjiang haoqunjiang deleted the linusborg/feat/issue-4397 branch August 21, 2019 07:34
@haoqunjiang haoqunjiang changed the title fix(eslint): eslint should override env fix: eslint should override env for **/tests/** subfolders Aug 21, 2019
@haoqunjiang haoqunjiang changed the title fix: eslint should override env for **/tests/** subfolders fix: eslint should override env for **/tests/** subfolders Aug 21, 2019
haoqunjiang pushed a commit that referenced this pull request Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants