Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: use ts-standard for linting and fix lint isues
Similar to the bottom piece of agilgur5/react-signature-canvas@c70cc5a - I didn't know ts-standard was a thing and had been using eslint-config-standard-with-typescript and all the deps instead before (which itself was a relatively recent development) - I had put off adding ts-standard here to this repo/boilerplate due to its conflicts with `tsc` - I suspect the conflicts are because of ts-standard's old version of ESLint that may not have brought it in sync with the TS developments around index signatures - ts-standard (and the whole standard ecosystem, tbh) have been suffering a bit of lack of maintenance and so have been slow to upgrade etc - for a summary, see standard/ts-standard#222 -- I might just tackle some of the remaining tasks myself? - and as it doesn't seem like it'll be upgraded anytime too soon, figured I might as well bring it in before I put it off for too long - was able to eslint-ignore the 3 conflicts, so think that's good enough as a workaround _for now_ - it doesn't seem to be that much of a problem _within_ some of my other libraries' codebases (as opposed to just in the config), so think it's ok for now unless it starts to pose more problems - remove trailing commas per current ts-standard style - maybe this is changed in newer versions of standard? since trailing commas are better, but may not have been fully supported before - remove `package-json-type` dep as it wasn't helping much and also causing type issues due to custom fields
- Loading branch information