commit | 0c4153beed0f082ecbb17760e04afe1ed4a2392e | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Wed Aug 17 10:20:26 2022 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 29 21:44:03 2022 +0000 |
tree | a6258d1e1289348164420808f369ef7d982bde84 | |
parent | 310d66eb7c783a68c4b5f477f123b0093b0a5a25 [diff] |
Change eslint output to human readable Today in the build logs, eslint prints a json payload of every file it checked, regardless of whether there are errors present, which isn't really human readable and clogs up log space. This commit changes to the "stylish" output which is human readable. Examples of which are in the eslint docs[1]. Tested: ran a build, and observed the json gone, and a much more readable log present. ``` eslint . --ignore-path .gitignore --no-eslintrc -c /build/eslint-global-config.json --ext .json --format=stylish --resolve-plugins-relative-to /usr/local/lib/node_modules --no-error-on-unmatched-pattern ``` [1]: https://eslint.org/docs/latest/user-guide/formatters/#stylish Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib13630bdce65351215324add4c9c3233fff06c61
Build script for CI jobs in Jenkins.