Skip to content

Commit

Permalink
Merge pull request galaxyproject#16586 from dannon/make-lint-autofix
Browse files Browse the repository at this point in the history
Run eslint autofix as a part of client format when using Makefile
  • Loading branch information
mvdbeek authored Aug 25, 2023
2 parents effd5e8 + a7d3cba commit 027f532
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ client-production: client-node-deps ## Rebuild client-side artifacts for a produ
client-production-maps: client-node-deps ## Rebuild client-side artifacts for a production deployment with sourcemaps.
$(IN_VENV) cd client && $(NODE_ENV) yarn run build-production-maps

client-format: client-node-deps ## Reformat client code
client-lint-autofix: client-node-deps ## Automatically fix linting errors in client code
$(IN_VENV) cd client && yarn run eslint --quiet --fix

client-format: client-node-deps client-lint-autofix ## Reformat client code, ensures autofixes are applied first
$(IN_VENV) cd client && yarn run format

client-dev-server: client-node-deps ## Starts a webpack dev server for client development (HMR enabled)
Expand Down

0 comments on commit 027f532

Please sign in to comment.