mirror of
https://github.com/spring-cloud/spring-cloud-build.git
synced 2026-09-17 12:49:00 +00:00
Bumping versions
This commit is contained in:
+4
-3
@@ -148,7 +148,7 @@ Checkstyle rules are *disabled by default*. To add checkstyle to your project ju
|
|||||||
|
|
||||||
If you need to suppress some rules (e.g. line length needs to be longer), then it's enough for you to define a file under `${project.root}/src/checkstyle/checkstyle-suppressions.xml` with your suppressions. Example:
|
If you need to suppress some rules (e.g. line length needs to be longer), then it's enough for you to define a file under `${project.root}/src/checkstyle/checkstyle-suppressions.xml` with your suppressions. Example:
|
||||||
|
|
||||||
.projectRoot/src/checkstyle/checkstyle-suppresions.xml
|
.projectRoot/src/checkstyle/checkstyle-suppressions.xml
|
||||||
----
|
----
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE suppressions PUBLIC
|
<!DOCTYPE suppressions PUBLIC
|
||||||
@@ -162,10 +162,11 @@ If you need to suppress some rules (e.g. line length needs to be longer), then i
|
|||||||
|
|
||||||
It's advisable to copy the `${spring-cloud-build.rootFolder}/.editorconfig` and `${spring-cloud-build.rootFolder}/.springformat` to your project. That way, some default formatting rules will be applied. You can do so by running this script:
|
It's advisable to copy the `${spring-cloud-build.rootFolder}/.editorconfig` and `${spring-cloud-build.rootFolder}/.springformat` to your project. That way, some default formatting rules will be applied. You can do so by running this script:
|
||||||
|
|
||||||
```bash
|
[source,bash]
|
||||||
|
----
|
||||||
$ curl https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/.editorconfig -o .editorconfig
|
$ curl https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/.editorconfig -o .editorconfig
|
||||||
$ touch .springformat
|
$ touch .springformat
|
||||||
```
|
----
|
||||||
|
|
||||||
[[ide-setup]]
|
[[ide-setup]]
|
||||||
== IDE setup
|
== IDE setup
|
||||||
|
|||||||
Reference in New Issue
Block a user