eslint / config-inspector

A visual tool for inspecting and understanding your ESLint flat configs.
https://www.npmjs.com/package/@eslint/config-inspector
Apache License 2.0
650 stars 18 forks source link

fix: `nth` formatting for values above 20 #83

Closed voxpelli closed 1 month ago

voxpelli commented 1 month ago

While 11th, 12th, 13th uses th all other numbers that end with 1, 2 or 3 use same suffix as the base 1, 2 and 3

For reference, see eg: https://www.mathsisfun.com/numbers/cardinal-ordinal-chart.html

Fixes #74