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

add js linting #51

Closed
wants to merge 17 commits into from
Closed

add js linting #51

wants to merge 17 commits into from

Conversation

TheAfroOfDoom
Copy link
Owner

Summary


Test plan

Reproducing in-game

Preview

in-game -- before in-game -- after undertale

Supplemental changes

@TheAfroOfDoom TheAfroOfDoom force-pushed the add-js-linting branch 2 times, most recently from f854f36 to dd4b2f1 Compare December 29, 2023 09:01
- rename test workflow to `validate_datapack`
- change test workflow to only run on commits on PRs and commits that are pushed to main
- run with `yarn lint`
- just ran `yarn start lint.fix`
- also run `yarn dlx @yarnpkg/sdks vscode` to make eslint work -- moves some auto generated settings into `.vscode/settings.json`
  - unavoidable but nbd
  - adds annoying extension to workspace recommendations `zipfs` but i guess useful similar to `node_modules` stuff idk
- no need to specify `--exact`
- revert deleting the whole file earlier (woops)
- convert to using `yarn` directly to run prettier too with dependency caching

maybe
- matches README's recommendation, which is based on minimum node version (`16.10`) needed for `corepack enable` / yarn 3.6.3
@TheAfroOfDoom
Copy link
Owner Author

closing due to very messy force-push history

reusing branch + workflow runs on next PR

@TheAfroOfDoom TheAfroOfDoom changed the title Add js linting add js linting Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant