Tldraw/scripts
alex 640bc9de24
Revert 09c36781 & tweak linting (#1501)
This diff reverts 09c36781 and tweaks how some of our linting was
working.

I'm not actually sure what caused the regression that 09c36781 was
fixing - it was something to do with typescript being used to transpile
eslintrc.js, but that being excluded from the tsconfig for those
projects. I fixed that by removing `rootDir` from those, but that
revealed some other issues with files not getting ignored correctly.

I fixed the ignoring issue with a change I've wanted to make to these
scripts for a while: only running them on files that are actually
tracked by git, instead of on everything with a relevant extension. A
side effect of that is that we have to re-implement .eslintignore
support ourselves, but that's very straight forward: the `ignore`
package that eslint uses is very easy to include.

### Change Type
- [x] `internal` — Any other changes that don't affect the published
package (will not publish a new version)

### Test Plan
-

### Release Notes
[internal-only]
2023-06-02 10:45:51 +00:00
..
lib replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
api-check.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
build-api.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
build-package.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
check-scripts.ts Revert 09c36781 & tweak linting (#1501) 2023-06-02 10:45:51 +00:00
clean.sh [chore] use explicit yarn in clean script (#1216) 2023-05-02 13:33:30 +00:00
lint.ts Revert 09c36781 & tweak linting (#1501) 2023-06-02 10:45:51 +00:00
package.json Revert 09c36781 & tweak linting (#1501) 2023-06-02 10:45:51 +00:00
postpack.sh transfer-out: transfer out 2023-04-25 12:01:25 +01:00
prepack.ts avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
publish-canary.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
publish-manual.ts Fix publishing (#1338) 2023-05-09 13:25:56 +00:00
publish-new.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
refresh-assets.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
typecheck.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00