Commit Graph

54 Commits

Author SHA1 Message Date
wind57
443f34b1f1 fix checkstyle junit vs assertj
Signed-off-by: wind57 <eugen.rabii@gmail.com>
2025-04-10 14:23:07 +03:00
Olga Maciaszek-Sharma
bfa1ccfc21 Add case change without locale checkstyle rule. 2024-10-17 11:07:37 +02:00
Artem Bilan
711fbce9ba Remove lf from NewlineAtEndOfFileCheck
Different OSs may check out files with different line separators.
So, to better support other development environments it would be great to just require any end of file, not just Linux-specific.
2022-02-04 11:21:59 -05:00
Olga Maciaszek-Sharma
b6c617e7e4 Suppress javadoc check for files in test directory. 2020-04-23 16:54:41 +02:00
Olga Maciaszek-Sharma
6920b32ef7 Remove deprecated checkstyle property. 2020-02-07 13:52:28 +01:00
Spencer Gibb
a29ba7bc95 temporarily comment out nohttp-checkstyle.xml 2019-12-19 15:08:48 -05:00
Marcin Grzejszczak
80eece2100 Added nohttp checkstyle; fixes gh-134 2019-06-06 13:39:51 +02:00
Spring Operator
5e639a39cb URL Cleanup (#105)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 2 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 2 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 10:51:25 +01:00
Ryan Baxter
d4f6a811d9 Merge remote-tracking branch 'origin/2.1.x' 2019-03-21 12:10:17 -04:00
Ryan Baxter
35d8230662 Updating checkstyle rules to make sure header uses https 2019-03-21 12:08:21 -04:00
Spring Operator
419cffdad8 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.puppycrawl.com/dtds/configuration_1_3.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/configuration_1_3.dtd ([https](https://www.puppycrawl.com/dtds/configuration_1_3.dtd) result 404).
* http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 5 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 10 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 5 occurrences
2019-03-19 21:17:27 -05:00
Marcin Grzejszczak
7f5ba64aa7 Commenting out the LineLength requirement
The Boot formatter and the line length check are contradictory. Let's not check the line length.
2019-02-25 16:11:25 +01:00
Marcin Grzejszczak
0b71752b7b Updated Groovy style 2019-02-08 16:45:56 +01:00
Marcin Grzejszczak
9b037574ed Updated Groovy style 2019-02-08 16:18:02 +01:00
Marcin Grzejszczak
c6052d025c Updated Groovy style 2019-02-08 16:04:56 +01:00
Olga Maciaszek-Sharma
c144394179 Revert incorrect backward change in inspection setup. 2019-02-08 13:50:54 +01:00
Olga Maciaszek-Sharma
3bd7aa065c Merge remote-tracking branch 'origin/master' 2019-02-07 19:56:07 +01:00
Olga Maciaszek-Sharma
83ed333158 Add "excludeScope", cause "scope" was not handled correctly for inner classes. 2019-02-07 19:54:46 +01:00
Spencer Gibb
549410b7df Update to 120 right margin 2019-02-07 13:41:37 -05:00
Marcin Grzejszczak
a129f34039 Added editorconfig 2019-02-07 15:15:27 +01:00
Marcin Grzejszczak
3157fe7adf Updated spring boot java conventions 2019-02-07 11:27:43 +01:00
Marcin Grzejszczak
e14be3ccae Added examples to suppressions 2019-02-05 16:46:37 +01:00
Olga Maciaszek-Sharma
2d9d850679 Moved Netflix checkstyle suppressions back to project. 2019-02-05 13:01:40 +01:00
Marcin Grzejszczak
5995da49aa Added an option for additional suppression files 2019-02-05 09:25:21 +01:00
Marcin Grzejszczak
2f6cc5a199 Added sample folder to suppresions 2019-02-04 16:18:59 +01:00
Marcin Grzejszczak
7abbd131bf Added build and target to skipped locations 2019-02-04 15:53:12 +01:00
Olga Maciaszek-Sharma
da9d52773d Add checkstyle suppressions for illegal imports necessary for some Netflix types. 2019-02-04 12:04:34 +01:00
Marcin Grzejszczak
6b947f96b8 Parametrized suppressions 2019-02-02 11:36:12 +01:00
Marcin Grzejszczak
56150ea5ea Added override checkstyle rule 2019-02-01 15:06:24 +01:00
Olga Maciaszek-Sharma
d5908b1898 Adding back guava import - added suppressions directly in SCNetflix. 2019-01-31 19:12:21 +01:00
Olga Maciaszek-Sharma
b763c7e76d Fix import-control setup. 2019-01-31 17:09:59 +01:00
Olga Maciaszek-Sharma
8190edd353 Fix import-control setup. 2019-01-31 17:07:33 +01:00
Olga Maciaszek-Sharma
26146271cc Add import control setup in checkstyle.xml. 2019-01-31 17:01:57 +01:00
Olga Maciaszek-Sharma
b42078d051 Switch from illegal import definition in Guava to import-control verification. 2019-01-31 16:42:44 +01:00
Olga Maciaszek-Sharma
0d3107bc2a Remove verification for empty javadoc after discussing in channel. 2019-01-30 18:02:59 +01:00
Olga Maciaszek-Sharma
b62df46daa Switch to public scope for Javadoc Type check. 2019-01-30 17:56:37 +01:00
Olga Maciaszek-Sharma
6482383cc4 Merge remote-tracking branch 'origin/master' 2019-01-30 17:42:06 +01:00
Olga Maciaszek-Sharma
626bbb6d07 Commenting out some rules after discussing it in Spring Cloud channel. 2019-01-30 17:41:51 +01:00
Marcin Grzejszczak
9c3dddb63c Set tab width to 1 2019-01-30 13:00:10 +01:00
Marcin Grzejszczak
0d5e152e7a Added line length to be 120 2019-01-29 20:02:06 +01:00
Marcin Grzejszczak
58cbac5e86 Updated Checkstyle with latest Boot entries, removed this. check; fixes gh-86 2019-01-29 17:58:55 +01:00
Daniel Zou
ad99cb0e55 Add Awaitility and AssertJ assumptions to avoidStaticImportCheck exclusions (#85) 2019-01-21 17:56:38 +01:00
dmitry-s
32da4095f5 add SuppresionFilter module (#79) 2018-12-05 21:13:17 +01:00
Marcin Grzejszczak
2014a30efa Updated Groovy conventions 2018-11-16 14:37:48 +01:00
Marcin Grzejszczak
b61fcecfb4 Fixed copyright pattern; fixes gh-62 2018-11-16 13:04:03 +01:00
Marcin Grzejszczak
bf69d77c8c Added project and spring boot defaults 2018-10-08 15:41:49 +02:00
Marcin Grzejszczak
7fd3739c75 Checkstyle produces warnings 2018-10-01 12:29:16 +02:00
Marcin Grzejszczak
bd42b899a4 Revert "Fixed checkstyle setup"
This reverts commit 37b3508c53.
2018-10-01 10:28:02 +02:00
Marcin Grzejszczak
f811879742 Revert "Checkstyle doesn't break the build"
This reverts commit 88a07f4865.
2018-10-01 10:27:54 +02:00
Marcin Grzejszczak
88a07f4865 Checkstyle doesn't break the build 2018-09-30 18:36:24 +02:00