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

(format): format all files, not just src/ and test/ #648

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

agilgur5
Copy link
Collaborator

  • fix jest.config.js formatting errors
  • ignore dist/ (and the default of node_modules)

Split out from #646 where I realized when editing the jest.config.js that it wasn't being linted/formatted.

This also starts another conversation -- shouldn't tsdx lint or the scripts in the templates default to './' and not just src test? src test already misses things like example and stories as well as .eslintrc.js, jest.config.js, and any other root files or root directories.
Personally I think it should default to './' and we'll need an .eslintignore or symlink to .gitignore for the templates then too since we need to ignore all node_modules (at root and at example) as well as dist/.
See also #517 that ESLint by default does not use .gitignore for ignores for some reason

- fix jest.config.js formatting errors
- ignore dist/ (and the default of node_modules)
Copy link
Collaborator Author

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

LGTM. Maybe should consider replacing eslintignore with symlink to gitignore?

@agilgur5 agilgur5 merged commit 3cb3841 into jaredpalmer:master Mar 27, 2020
@agilgur5 agilgur5 added the scope: internal Changes only affect the internal API label Mar 27, 2020
paul-vd pushed a commit to EezyQuote/tsdx that referenced this pull request Dec 1, 2020
- fix jest.config.js formatting errors
- ignore dist/ (and the default of node_modules)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: internal Changes only affect the internal API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant