Here I have installed react-hooks eslint rules. See
https://reactjs.org/docs/hooks-rules.html#eslint-plugin for reference.
The specific trigger for this was [this
fix](abdbe54663)
I put in for a bug, which would have been caught by the
`react-hooks/exhaustive-deps` rule.
I've added these both as warnings as there are currently 69 😏
problems:
```
$ yarn eslint
...
✖ 69 problems (6 errors, 63 warnings)
```
At least this will highlight in editors that support it. We can make
these errors in a follow up PR, but this is valuable in itself without
getting into some yak shaving.
* Update Project Danger Zone to Plugins standard
* Extract PinnedDashboards to own component
* Set default body background to white
* Fix JSBookmarklet note style
* Add project rename
* Expect data-attr in okButtonProps type error
* Rename project name section to "DIsplay Name"
* Use disabled and loading on projet DisplayName
* Add models-side Team.name min length requirement
* Make small fixes on Plugins pages
* Revert "Add models-side Team.name min length requirement"
This reverts commit 97874ed7c2.
* minor copy adjustments
* Make button "Rename Project" and improve interactivity
* Remove teamLogic.connect
* Add project rename success toast
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* Convert utils to TS and add missing lodash-like functions
* Purge lodash, using utils and ES features instead
* Remove lodash as a dependency
* Fix Annotation.created_at default value (was null)
* Convert all of utils to TypeScript
* Update ESLint rule @typescript-eslint/explicit-module-boundary-types
* Put all @types/* into devDependencies
* Lower @typescript-eslint/explicit-function-return-type severity
* Fix Annotation.created_at in a better way
* Don't copy item on push in groupBy
* Use `Set.has()` instead of `in Set`
* Update .eslintrc.js
* Update .eslintrc.js
* made open toolbar links open in a new tab
* Remove noreferrer to allow filtering out visits from PostHog
* Allow referrer
* Disable react/jsx-no-target-blank
Co-authored-by: Michael Matloka <dev@twixes.com>