summaryrefslogtreecommitdiff
path: root/format-code.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-03-04Move ci from format-code to run-ciEd Tanous1-1/+6
Format code is supposed to do just that... format code. npm ci is doing much more than that, so it belongs in run-ci. Change-Id: I4c4e94f1a53e04aa13289aea259098143377cc2c Signed-off-by: Ed Tanous <ed@tanous.net>
2021-01-05lint: update format-code scriptPatrick Williams1-1/+9
Due to openbmc/openbmc-build-scripts@55448ad, format-code scripts are now required to have a #!. Add one here. Format-code scripts are also ran from an arbitrary directory but the path to the root of the repository is passed as the first argument. Switch to that directory so `npm` does the right thing. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic15ef0af7d7ebd224762e9eaba41d3b92ce5e5bd
2020-05-29Add continuous integration code linting scriptDerick Montague1-0/+11
This is a short-term solution for testing code formatting during continuous integration. It relies on the npm ci function to install package dependencies and run the vue-cli-service lint command. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4a6c3f304ad4caa409c4f463dc1a098a96b7467f