Comcast / Comcast/resourceprovider-utils

Create a custom lint check to enforce valid string formatting

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19
Forks
8
PR merge metrics
No merged PRs in 30d

Description

ResourceProvider adds a vararg to every API it generates in order to support string formatting, the lint checks "StringFormatInvalid" and "StringFormatMatches" are no longer useful. Instead we'll need to write a new custom lint check to map each resource API to the string resources format arguments and check that calls to that API provide the correct number and type of argument.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.