Update Lint and TypeScript Settings #64
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
This updates some eslint and TypeScript settings, and resolves some eslint errors, also adds
dist
to.gitignore
I have removed the
webfiles
projects from the scope of TypeScript compilation for now as they should likely be their own compiled projectseslint
webfiles
directoryoffset
as askip
parameter to the mongo query, and updates the link sent as a response so that pagination should work properly. I assume this is what was intendedsrc/utils.js
was usingsharp
without importing it, so I've added an import for thatI have also disabled eslint for all projects in the
webfiles
directory temporarily as the eslint settings that were being applied were likely inappropriate. I have also included a separate eslint configuration file for these projects with an initial attempt as a sensible configuration. However, there are some questions before I can finish this:TypeScript
webfiles
sourcesTasks