Skip to content

Added a linter for numeric types #2094

Added a linter for numeric types

Added a linter for numeric types #2094

Triggered via pull request February 10, 2025 17:15
Status Failure
Total duration 41s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: tools/src/linter/SchemaVisitingValidator.ts#L23
'namespace_file' is defined but never used
lint: tools/src/linter/SchemaVisitingValidator.ts#L56
Class Method name `validateFile` must match one of the following formats: snake_case
lint: tools/src/linter/SchemaVisitingValidator.ts#L56
Parameter name `filePath` must match one of the following formats: snake_case, UPPER_CASE
lint: tools/src/linter/SchemaVisitingValidator.ts#L59
Trailing spaces not allowed
lint: tools/src/linter/SchemaVisitingValidator.ts#L60
Variable name `targetFile` must match one of the following formats: snake_case, UPPER_CASE
lint: tools/src/linter/SpecValidator.ts#L31
Class Property name `changedOnly` must match one of the following formats: snake_case
lint: tools/src/linter/SpecValidator.ts#L33
Parameter name `changedOnly` must match one of the following formats: snake_case, UPPER_CASE
lint: tools/src/linter/SpecValidator.ts#L50
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `unknown`
lint: tools/src/linter/SpecValidator.ts#L55
Class Method name `validateChangedFiles` must match one of the following formats: snake_case
lint: tools/src/linter/SpecValidator.ts#L56
Variable name `changedFiles` must match one of the following formats: snake_case, UPPER_CASE