Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint Errors: file_translation #247

Open
DmitryMasley opened this issue Oct 15, 2024 · 0 comments
Open

Lint Errors: file_translation #247

DmitryMasley opened this issue Oct 15, 2024 · 0 comments

Comments

@DmitryMasley
Copy link

DmitryMasley commented Oct 15, 2024

npm run test script will show linting errors. npm run test -- --format=stylish will produce a more compact output grouped by file

Lint: spec/file_translation/fts_common.yaml

Severity Location Problem Message
warning line 124:21 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.

Lint: spec/file_translation/fts_language_detection.yaml

Severity Location Problem Message
warning line 40:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 82:33 no-invalid-media-type-examples Example value must conform to the schema: error property type must be object.

Lint: spec/file_translation/fts_mt.yaml

Severity Location Problem Message
error line 276:9 spec The field description must be present on this level.
warning line 88:33 no-invalid-media-type-examples Example value must conform to the schema: error property type must be object.
warning line 90:27 no-invalid-media-type-examples Example value must conform to the schema: localeProcessStatuses property type must be object.
warning line 219:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
warning line 287:25 no-invalid-media-type-examples Example value must conform to the schema: errors property type must be array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant