pre-commit uses development ESLint rules rather than prod #895
Labels
build
For issues/PRs pertaining to the build or deployment of the package
javascript
Pull requests that update Javascript code
As noticed by @BenjaminCharmes, the pre-commit ESLint seems to be using the dev rules rather than prod, so some fixable issues are not being fixed automatically. It seems quite hard to set this manually and none of the workarounds I tried seemed to work; instead we might revert the eslint config changes (i.e., treat most things as errors again) but figure out how to get
yarn serve
to be more forgiving itself.The text was updated successfully, but these errors were encountered: