|
1679 | 1679 | }, |
1680 | 1680 | "type": "object" |
1681 | 1681 | }, |
1682 | | - "InlineFinalCheck": { |
1683 | | - "description": "Checks for places that use inline var instead of inline final (Haxe 4+).", |
1684 | | - "additionalProperties": false, |
1685 | | - "properties": { |
1686 | | - "type": { |
1687 | | - "description": "Checks for places that use inline var instead of inline final (Haxe 4+).", |
1688 | | - "type": "string", |
1689 | | - "enum": [ |
1690 | | - "InlineFinal" |
1691 | | - ] |
1692 | | - }, |
1693 | | - "props": { |
1694 | | - "description": "Checks for places that use inline var instead of inline final (Haxe 4+).", |
1695 | | - "additionalProperties": false, |
1696 | | - "properties": { |
1697 | | - "severity": { |
1698 | | - "description": "sets gravity of reported violations:\n\t- IGNORE = do not report violations, violations do not appear anywhere in output\n\t- INFO = all violations have info / lowest priority\n\t- WARNING = all violations have warning / medium priority\n\t- ERROR = all violations have error / highest priority", |
1699 | | - "type": "string", |
1700 | | - "enum": [ |
1701 | | - "INFO", |
1702 | | - "WARNING", |
1703 | | - "ERROR", |
1704 | | - "IGNORE" |
1705 | | - ], |
1706 | | - "propertyOrder": 0 |
1707 | | - } |
1708 | | - }, |
1709 | | - "type": "object" |
1710 | | - } |
1711 | | - }, |
1712 | | - "type": "object" |
1713 | | - }, |
1714 | 1682 | "Threshold": { |
1715 | 1683 | "description": "threshold for code complexity", |
1716 | 1684 | "required": [ |
|
3059 | 3027 | "$ref": "#/definitions/ExcludeFilterList", |
3060 | 3028 | "propertyOrder": 19 |
3061 | 3029 | }, |
| 3030 | + "Final": { |
| 3031 | + "$ref": "#/definitions/ExcludeFilterList", |
| 3032 | + "propertyOrder": 28 |
| 3033 | + }, |
3062 | 3034 | "MultipleStringLiterals": { |
3063 | 3035 | "$ref": "#/definitions/ExcludeFilterList", |
3064 | 3036 | "propertyOrder": 45 |
|
3124 | 3096 | }, |
3125 | 3097 | "HexadecimalLiteral": { |
3126 | 3098 | "$ref": "#/definitions/ExcludeFilterList", |
3127 | | - "propertyOrder": 28 |
| 3099 | + "propertyOrder": 29 |
3128 | 3100 | }, |
3129 | 3101 | "WhitespaceAfter": { |
3130 | 3102 | "$ref": "#/definitions/ExcludeFilterList", |
|
3158 | 3130 | "$ref": "#/definitions/ExcludeFilterList", |
3159 | 3131 | "propertyOrder": 52 |
3160 | 3132 | }, |
3161 | | - "InlineFinal": { |
3162 | | - "$ref": "#/definitions/ExcludeFilterList", |
3163 | | - "propertyOrder": 32 |
3164 | | - }, |
3165 | 3133 | "AvoidStarImport": { |
3166 | 3134 | "$ref": "#/definitions/ExcludeFilterList", |
3167 | 3135 | "propertyOrder": 9 |
|
3180 | 3148 | }, |
3181 | 3149 | "HiddenField": { |
3182 | 3150 | "$ref": "#/definitions/ExcludeFilterList", |
3183 | | - "propertyOrder": 29 |
| 3151 | + "propertyOrder": 30 |
3184 | 3152 | }, |
3185 | 3153 | "UnnecessaryConstructor": { |
3186 | 3154 | "$ref": "#/definitions/ExcludeFilterList", |
|
3264 | 3232 | }, |
3265 | 3233 | "Indentation": { |
3266 | 3234 | "$ref": "#/definitions/ExcludeFilterList", |
3267 | | - "propertyOrder": 30 |
| 3235 | + "propertyOrder": 31 |
3268 | 3236 | }, |
3269 | 3237 | "version": { |
3270 | 3238 | "maximum": 1, |
|
3297 | 3265 | }, |
3298 | 3266 | "IndentationCharacter": { |
3299 | 3267 | "$ref": "#/definitions/ExcludeFilterList", |
3300 | | - "propertyOrder": 31 |
| 3268 | + "propertyOrder": 32 |
3301 | 3269 | }, |
3302 | 3270 | "MagicNumber": { |
3303 | 3271 | "$ref": "#/definitions/ExcludeFilterList", |
|
3716 | 3684 | }, |
3717 | 3685 | "type": "object" |
3718 | 3686 | }, |
| 3687 | + "FinalCheck": { |
| 3688 | + "description": "Checks for places that use var instead of final (Haxe 4+).", |
| 3689 | + "additionalProperties": false, |
| 3690 | + "properties": { |
| 3691 | + "type": { |
| 3692 | + "description": "Checks for places that use var instead of final (Haxe 4+).", |
| 3693 | + "type": "string", |
| 3694 | + "enum": [ |
| 3695 | + "Final" |
| 3696 | + ] |
| 3697 | + }, |
| 3698 | + "props": { |
| 3699 | + "description": "Checks for places that use var instead of final (Haxe 4+).", |
| 3700 | + "additionalProperties": false, |
| 3701 | + "properties": { |
| 3702 | + "severity": { |
| 3703 | + "description": "sets gravity of reported violations:\n\t- IGNORE = do not report violations, violations do not appear anywhere in output\n\t- INFO = all violations have info / lowest priority\n\t- WARNING = all violations have warning / medium priority\n\t- ERROR = all violations have error / highest priority", |
| 3704 | + "type": "string", |
| 3705 | + "enum": [ |
| 3706 | + "INFO", |
| 3707 | + "WARNING", |
| 3708 | + "ERROR", |
| 3709 | + "IGNORE" |
| 3710 | + ], |
| 3711 | + "propertyOrder": 0 |
| 3712 | + } |
| 3713 | + }, |
| 3714 | + "type": "object" |
| 3715 | + } |
| 3716 | + }, |
| 3717 | + "type": "object" |
| 3718 | + }, |
3719 | 3719 | "ConditionalCompilationCheck": { |
3720 | 3720 | "description": "Checks placement and indentation of conditional compilation flags.", |
3721 | 3721 | "additionalProperties": false, |
|
4299 | 4299 | { |
4300 | 4300 | "$ref": "#/definitions/FileLengthCheck" |
4301 | 4301 | }, |
| 4302 | + { |
| 4303 | + "$ref": "#/definitions/FinalCheck" |
| 4304 | + }, |
4302 | 4305 | { |
4303 | 4306 | "$ref": "#/definitions/HexadecimalLiteralCheck" |
4304 | 4307 | }, |
|
4311 | 4314 | { |
4312 | 4315 | "$ref": "#/definitions/IndentationCharacterCheck" |
4313 | 4316 | }, |
4314 | | - { |
4315 | | - "$ref": "#/definitions/InlineFinalCheck" |
4316 | | - }, |
4317 | 4317 | { |
4318 | 4318 | "$ref": "#/definitions/InnerAssignmentCheck" |
4319 | 4319 | }, |
|
0 commit comments