15 Commits
Author SHA1 Message Date
David LechnerandDavid Lechner dd322b5aac tree-wide: use noopener instead of noreferrer for target="_blank"
This will allow us to see when users click links to the pybricks.com
website from the app.
2022-12-20 12:09:04 -06:00
David LechnerandDavid Lechner 9d71bb4734 eslint: enable react-hooks checks
Also fix all errors, which can lead to subtile bugs.

Mostly fixings deps and refactoring to make typescript happy.
2022-12-17 13:56:01 -06:00
David LechnerandDavid Lechner e01fb1fbe9 eslint: strict equality
Enforce use of ===/!== and fix existing issues.
2022-11-23 17:20:45 -06:00
David LechnerandDavid Lechner 9c95b25b87 yarn: update camelcase
This required converting the module that uses camelcase to mjs due to
breaking change in camelcase.
2022-06-06 11:57:48 -05:00
David LechnerandDavid Lechner 691783e3f8 yarn: update linters 2022-06-01 18:03:15 -05:00
David Lechner 96d36f81e2 eslint: ignore scripts/*
These were automatically generated, so leave them be.
2022-05-10 20:55:04 -05:00
David Lechner df12c40802 drop craco
Since we aren't using react-scripts any more, craco doesn't do anything.
This merges the craco config into the config created by `yarn eject`.
2022-05-10 20:27:58 -05:00
David Lechner 45d4491312 eslintrc: ignore config files 2022-03-16 11:34:34 -05:00
David Lechner bb9a89d7d9 prettier 2021-04-02 12:48:06 -05:00
David LechnerandDavid Lechner 818e7867ee globally handle no-unused-vars 2020-06-10 21:59:34 -05:00
David LechnerandDavid Lechner 31c3e2b52e refactor common test helpers into test/
This way we can share them with multiple tests
2020-06-10 21:59:34 -05:00
David LechnerandDavid Lechner 90817a1ae7 github: add CI for pull requests
and hacks to get tests working
2020-05-20 14:52:45 -05:00
David Lechner 530f164af1 alphabetize imports 2020-04-19 15:53:28 -05:00
David Lechner 2772e76a62 clean up import order 2020-04-17 00:39:09 -05:00
David Lechner 79df44c22a more linting
applying some recomendations from https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project
2020-04-08 19:23:19 -05:00