Skip to content

Conversation

@agibson-godaddy
Copy link
Contributor

Issue: https://godaddy-corp.atlassian.net/browse/MWC-19073

Summary

  • Removes gulp-eslint in favour of eslint directly
  • Reworks linting process
  • Old config got nuked because it wasn't compatible with latest eslint version. Current one committed is a placeholder.
  • Added support for auto fixing linting errors via --fix flag (e.g. npx sake lint:js --fix)

Notes:

  • Use --fix flag to auto fix errors
  • Use --show-files flag just to list out files that have errors, without listing the errors themselves (useful for debugging which files are being linted to sanity check you're not linting vendor files)
  • Use --lint-errors-fail to halt the entire process if errors are encountered (i.e. if you're running npx sake deploy and want to completely halt if there are lint errors)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants