Вопрос пользователя Семен Сердюков в уроке «Модуль 3. Урок 3. Уровни методов в Java.», курс «Введение в Java»

Семен Сердюков

Првиетствую. В чем проблема Lintera?

https://ru.hexlet.io/code_reviews/271181

То что выводит linter:

Starting audit...
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:3: 'package' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:13:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:14: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:14:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:16: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:16:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:17:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:18:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:19: 'METHOD_DEF' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:19: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:19:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:20: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:20:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:21: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:21:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/view/ConsoleView.java:25:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:3: 'import' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:5: 'CLASS_DEF' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:6:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:7: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:7:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:8: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:8:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:9: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:9:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/CurrentMoveController.java:10:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:9:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:10: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:10:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:12: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:12:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/MoveController.java:13:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:3: 'import' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:5: 'CLASS_DEF' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:6:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:7: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:7:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:8: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:8:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:9: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:9:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/controllers/WinnerController.java:10:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Point.java:5:16: Member name 'x' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. [MemberName]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Point.java:7:16: Member name 'y' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. [MemberName]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:2: 'package' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:3: '//' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:7: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:7:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:9: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:9:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:11: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:11:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:13: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:13:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:15: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:15:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:17: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:17:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:19: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:19:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:21: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:21:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:23: 'member def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:23:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:25:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:26: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:26:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:27: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:27:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:28: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:28:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:29:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:30: Comment has incorrect indentation level 1, expected is 4, indentation should be the same level as line 31. [CommentsIndentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:30:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:31: 'METHOD_DEF' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:31: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:31:4: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:32: 'method def' child has incorrect indentation level 19, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:32:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:33: 'method def rcurly' has incorrect indentation level 11, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:33:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:34:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:35:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:36: 'METHOD_DEF' should be separated from previous statement. [EmptyLineSeparator]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:36: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:36:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:37:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:38: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:38:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Field.java:39:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/io/hexlet/xo/model/Game.java:8:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:1:26: Using the '.*' form of import should be avoided - io.hexlet.xo.model.*. [AvoidStarImport]
[ERROR] /usr/src/app/src/Main.java:2:25: Using the '.*' form of import should be avoided - io.hexlet.xo.view.*. [AvoidStarImport]
[ERROR] /usr/src/app/src/Main.java:3: Wrong lexicographical order for 'io.hexlet.xo.controllers.*' import. Should be before 'io.hexlet.xo.view.*'. [CustomImportOrder]
[ERROR] /usr/src/app/src/Main.java:3:32: Using the '.*' form of import should be avoided - io.hexlet.xo.controllers.*. [AvoidStarImport]
[ERROR] /usr/src/app/src/Main.java:7: 'method def modifier' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/Main.java:7:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:8: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:8:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:9: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:9:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:10: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:10:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:12: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:12:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:13: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:13:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:14: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:14:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:16: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:16:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:17: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:17:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:18: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:18:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:19: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:19:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:20: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:20:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:23: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:23:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:24: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:24:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:25: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:25:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:27: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:27:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:28: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:28:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:29: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:29:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:31: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:31:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:32: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:32:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:33: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:33:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:35: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:35:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:36:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:37: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:37:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:38: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:38:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:39: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:39:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:41: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:41:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:42: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:42:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:43: 'if' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:43:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:44: 'if' child has incorrect indentation level 24, expected level should be 12. [Indentation]
[ERROR] /usr/src/app/src/Main.java:44: Line is longer than 100 characters (found 131). [LineLength]
[ERROR] /usr/src/app/src/Main.java:44:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:45: 'if rcurly' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:45:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:47: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:47:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:48: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:48:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:50: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:50:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:51: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:51:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:52: 'if' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:52:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:53: 'if' child has incorrect indentation level 24, expected level should be 12. [Indentation]
[ERROR] /usr/src/app/src/Main.java:53: Line is longer than 100 characters (found 120). [LineLength]
[ERROR] /usr/src/app/src/Main.java:53:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:54: 'if rcurly' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:54:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:56: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:56:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:57: 'if' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:57:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:58: 'if' child has incorrect indentation level 24, expected level should be 12. [Indentation]
[ERROR] /usr/src/app/src/Main.java:58: Line is longer than 100 characters (found 116). [LineLength]
[ERROR] /usr/src/app/src/Main.java:58:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:59: 'if rcurly' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:59:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:61: 'method def' child has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:61:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:62: 'if' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:62:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:63: 'if' child has incorrect indentation level 24, expected level should be 12. [Indentation]
[ERROR] /usr/src/app/src/Main.java:63: Line is longer than 100 characters (found 124). [LineLength]
[ERROR] /usr/src/app/src/Main.java:63:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:64: 'if rcurly' has incorrect indentation level 16, expected level should be 8. [Indentation]
[ERROR] /usr/src/app/src/Main.java:64:1: Line contains a tab character. [FileTabCharacter]
[ERROR] /usr/src/app/src/Main.java:65: 'method def rcurly' has incorrect indentation level 8, expected level should be 4. [Indentation]
[ERROR] /usr/src/app/src/Main.java:65:1: Line contains a tab character. [FileTabCharacter]
Audit done.
Checkstyle ends with 192 errors.

192 ошибки на такой простой код..ну странновато

1 0

Ильнар Шафигуллин

Добрый день!

Мы подключили новый линтер с требованиями от Google. Старый код не всегда их проходит. В Новых курсах всё написано согласно современным требованиям, в старых курсах такое вот встречается, да.

192 ошибки на такой простой код..ну странновато

линтер ругается не на ваш код, а на код написанный преподавателем. Например, на табуляцию

0

Есть вопрос или хотите участвовать в обсуждении?

Зарегистрируйтесь или войдите в свой аккаунт

Отправляя форму, вы соглашаетесь c «Политикой конфиденциальности» и «Условиями оказания услуг».

Похожие вопросы

Максим Никонов 06 октября 2020 →

Привет. Совсем не понято с Final. https://ru.hexlet.io/code_reviews/323689 Сделал без ключевого слова. Ошиб...

Oleg Bureiko 02 сентября 2020 →

Господа, в упор не вижу проблему,помогите. Пишет: ./src/Main.java:38: error: cannot find symbol cv...

Maxim 23 августа 2020 →

Здравствуйте. В "Послесловие" ссылка на дополнительное задание не открывается.

Maxim 19 августа 2020 →

Здравствуйте, в ссылке к заданию: https://habr.com/ru/post/150041/ Есть диаграмма "Man" в ней private мето...

Андрей Турубчук 01 июля 2020 →

Добрый день! Подскажите - что это за ошибка: (она возникает даже если проверить дз не написав никакой код,...