Marshall Polaris
9bff858696
Fix up lint configuration, lint line endings ( #615 )
...
* Make sure we ignore all built code in common and functions
* Add lint for Unix line endings
* Fix line endings in withdraw-liquidity.ts
2022-07-05 12:25:44 -07:00
James Grugett
e4f1d7cae1
Change eslint unused var to 'warn' instead of 'error'
2022-06-15 14:48:12 -05:00
Marshall Polaris
816fc5d64c
Revert "Revert "Turn on no unused variables linting, kill dead code ( #484 )""
...
This reverts commit 5beda1ded7
.
2022-06-12 21:42:41 -07:00
Austin Chen
5beda1ded7
Revert "Turn on no unused variables linting, kill dead code ( #484 )"
...
This reverts commit 515928a69a
.
2022-06-12 20:55:48 -07:00
Marshall Polaris
515928a69a
Turn on no unused variables linting, kill dead code ( #484 )
...
* Slightly fix up ChoicesToggleGroup
* Kill a bunch of dead code and unused variables
* Turn on no-unused-vars lint
* Un-kill some dead code that James likes
2022-06-12 19:04:55 -07:00
Marshall Polaris
420ea9e90e
Add more linting to web
package ( #343 )
...
* Import React a lot
* Fix misc. linting concerns
* Turn on many recommended lints for `web` package
2022-05-26 14:41:24 -07:00
Marshall Polaris
47f10301c8
Change lodash stuff so that it can be tree-shaken out of build ( #233 )
...
* Set common package.json sideEffects: false
* Configure SWC to modularize lodash imports
* Import specific lodash functions instead of _
* Add an eslint rule to avoid full lodash import
2022-05-22 01:36:05 -07:00
James Grugett
e4064b89ff
Turn of lint for nextjs typos (triggered by getStaticPropz)
2022-03-09 21:31:38 -06:00
jahooma
3a5b59abc3
Turn off nextjs img lint rule
2021-12-10 18:18:43 -06:00
Austin Chen
992c245837
Run prettier
2021-12-09 15:23:21 -08:00
jahooma
0d77a66503
Add eslint for react hooks and nextjs.
2021-12-08 12:25:37 -06:00