Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Conversation

@pianista215
Copy link
Contributor

@pianista215 pianista215 commented Jul 26, 2016

Description

To add the new plugin once the PR is merged you have to insert into: .git/hooks/pre-commit

if mvn mvn-scalafmt:verify > /dev/null 2>&1
then
echo "Your scala format is valid"
else
cat <<\EOF
Error: Some files are not well formatted.

Run mvn mvn-scalafmt:format to fix wrong formatted files.

EOF
exit 1
fi

Testing

  • Unit, integration tests

Documentation

  • Changelog update
  • Documentation link

@pfcoperez
Copy link
Contributor

Quite readable

@mafernandez-stratio
Copy link
Member

Not bad 👍

@pianista215 pianista215 changed the title [WIP]Formatting Formatting with scalafmt Aug 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants