Comments (1)
Yup, take a look towards the bottom of this section of the README.
By default, Spotless copies git's behavior. If you're using git, I highly recommend that you use a .gitattributes
file to change the line ending. Otherwise Spotless and git will fight each other.
Here's a .gitattributes
file which will change all line endings to LF.
* text eol=lf
from spotless.
Related Issues (20)
- Gradle 8.x: can not configure SQL format in `withinBlocksRegex`
- Update documentation for google-java-format minimum version; not 1.8 but 1.10 HOT 1
- Possible to use RegularFileProperty as Input to License/EclipseFormatter/ImportOrder?
- License complexity issues
- License header for markdown
- License header for shell
- Spotless check/apply failed with maven plugin HOT 1
- Formating files in a temporary directory HOT 2
- Spotless maven plugin sometimes doesn't detect wrong java Eclipse formatting
- OutOfMemoryError due to LineEndingsPolicy in JvmLocalCache HOT 2
- Sortpom should fail instead of silently sort on spotless:check HOT 2
- targetExcludeFilename
- multi configuration same language
- Maven: Inconsistent formatting of Java (google AOSP style) with plugin and google-java-format.jar
- Failed to create Jar file groovy-2.9.98-SNAPSHOT.jar
- Sorting properties files HOT 1
- Add Gradle support for Maven POM sorting/formatting
- Can Spotless be configured to use e.g. "GoogleJavaFormat 1.21.0 or newer"?
- Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching] - spotless version 6.25.0
- Java license header not reformatted for `package-info.java` files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotless.