Open samhh opened 1 year ago
Current output:
translations.json:3:29: | 3 | "message": "Some words {mySelect, select, other {}} {myCardinal, plural, =1 {} =1 {}}" | ^^^^^^^^ redundant-select: Select named `mySelect` is redundant as it only contains a wildcard. Learn more: https://github.com/unsplash/intlc/wiki/Lint-rules-reference#redundant-select translations.json:3:84: | 3 | "message": "Some words {mySelect, select, other {}} {myCardinal, plural, =1 {} =1 {}}" | ^^ duplicate-plural-case: Plural named `myCardinal` contains a duplicate `=1` case. Learn more: https://github.com/unsplash/intlc/wiki/Lint-rules-reference#duplicate-plural-case
Suggested:
translations.json:3:29: | 3 | "message": "Some words {mySelect, select, other {}} {myCardinal, plural, =1 {} =1 {}}" | ^^^^^^^^ redundant-select: Select named `mySelect` is redundant as it only contains a wildcard. translations.json:3:84: | 3 | "message": "Some words {mySelect, select, other {}} {myCardinal, plural, =1 {} =1 {}}" | ^^ duplicate-plural-case: Plural named `myCardinal` contains a duplicate `=1` case. Learn more: redundant-select: https://github.com/unsplash/intlc/wiki/Lint-rules-reference#redundant-select duplicate-plural-case: https://github.com/unsplash/intlc/wiki/Lint-rules-reference#duplicate-plural-case
Inspired by Shellcheck's output.
Current output:
Suggested:
Inspired by Shellcheck's output.