oVirt / ovirt-web-ui

Modern lightweight UI for standard (non-admin) oVirt users
https://www.ovirt.org
Apache License 2.0
116 stars 72 forks source link

Build enhancement - upgrade eslint and integrate to webpack build #1451

Open sjd78 opened 3 years ago

sjd78 commented 3 years ago

Upgrade and integrate eslint to the webpack build.

The upgrade will give us better linting. Integrating with the webpack build will show lint errors during development and optionally prevent the prod/CI build from succeeding with lint errors in place.

Originally posted by @sjd78 in https://github.com/oVirt/ovirt-web-ui/issues/1359#issuecomment-856134623

sjd78 commented 3 years ago

Reference:

sjd78 commented 3 years ago

1460 upgrades eslint and makes it work with a manual run (and therefore with IDE eslint plugin handling)

1461 applies more styles to the react jsx formatting

Additional work is needed to integrate eslint to the dev server and the prod build.