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
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 justsrc test
?src test
already misses things likeexample
andstories
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 allnode_modules
(at root and atexample
) as well asdist/
. See also #517 that ESLint by default does not use.gitignore
for ignores for some reason