Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a line separator configuration item #212

Closed
wants to merge 18 commits into from
Closed

Conversation

Hccake
Copy link
Contributor

@Hccake Hccake commented Aug 7, 2020

When developing with different OS, the formatted line breaks conflict.

so we need to specify the same line separator.

This solves the issuse problem #160

philwebb and others added 17 commits June 9, 2020 19:04
Update checkstyle rules so that the `NewlineAtEndOfFile` check no
longer enforces only LF line separators. The default now accepts
LF, CR or CRLF.

Closes spring-iogh-202
Add an additional exclusion to `SpringAvoidStaticImportCheck` so that
the `org.springframework.security.config.Customizer` class can be used.

Closes spring-iogh-206
Update the filtering logic so that top-level file checks can also be
excluded.

Closes spring-iogh-210
When developing with different OS, the formatted line breaks conflict.

 so we need to specify the same line separator.
@pivotal-issuemaster
Copy link

@Hccake Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@Hccake Thank you for signing the Contributor License Agreement!

Use the default when a line separator is not specified
@Hccake Hccake changed the title Add a lnline separator configuration item Add a line separator configuration item Aug 7, 2020
philwebb pushed a commit that referenced this pull request Dec 3, 2020
Update the Maven Plugin with support for a custom line separator.

See gh-212
philwebb added a commit that referenced this pull request Dec 3, 2020
philwebb added a commit that referenced this pull request Dec 3, 2020
* pr/212:
  Polish 'Add lineSeparator support to Maven Plugin'
  Add lineSeparator support to Maven Plugin
@philwebb philwebb added this to the 0.0.26 milestone Dec 3, 2020
@philwebb
Copy link
Contributor

philwebb commented Dec 3, 2020

Thanks for the PR. I've changed it a little in commit dc18d1a to only apply the line ending change when formatting (rather than setting the global line ending system property)

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

Successfully merging this pull request may close these issues.

4 participants