Skip to content

Commit

Permalink
Remove casing when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Feb 27, 2023
1 parent 68a7572 commit 09b8b4b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
16 changes: 10 additions & 6 deletions lib/a.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
export const a = [
// Please sort these entries.

// Please *only* use casing if it adds something: `url` is fine, but it’s
// `a UN meeting` and `an un-united germany`.
'U',
'UEFA',
'UK',
'UN',
'UNHCR',
'URL',
'US',
'USB',
'eucalypt*',
'eucha*',
'euchr*',
Expand Down Expand Up @@ -51,7 +49,9 @@ export const a = [
'onewhere*',
'oneyear',
'ubiq*',
'uefa',
'ugandan',
'uk',
'ukase',
'ukrain*',
'ukulele',
Expand All @@ -60,6 +60,7 @@ export const a = [
'unanim*',
'unary',
'unesco',
'unhcr',
'uniam*',
'uniart*',
'uniat*',
Expand All @@ -78,12 +79,15 @@ export const a = [
'uran*',
'urate',
'uri*',
'url',
'urologist',
'uruguay',
'uruguayan',
'uruguayans',
'us',
'usab*',
'usage',
'usb',
'use*',
'using',
'usu*',
Expand Down
27 changes: 15 additions & 12 deletions lib/an.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
export const an = [
'HB',
// Please sort these entries.
// Please *only* use casing if it adds something: `url` is fine, but it’s
// `a UN meeting` and `an un-united germany`.
'IOU',
'MA',
'MBA',
'MRI',
'MS',
'MTV',
'RAF',
'SGML',
'SMS',
'SOS',
'SPF',
'STD',
'SUV',
'XML',
'f',
'fbi',
'fda',
Expand All @@ -28,6 +19,7 @@ export const an = [
'habitual',
'hallucin*',
'hauteur',
'hb',
'heir*',
'herb*',
'heredit*',
Expand All @@ -47,10 +39,13 @@ export const an = [
'lbw',
'lcd',
'm',
'mba',
'mdast',
'mpg',
'mph',
'mri',
'msc',
'mtv',
'n',
'nba',
'nbc',
Expand All @@ -62,11 +57,19 @@ export const an = [
'nvidia',
'r&d',
'r',
'raf',
's',
'sgml',
'sms',
'sos',
'spf',
'std',
'suv',
'x',
'x-ray',
'x-rays',
'xbox',
'xmas',
'xml',
'α'
]

0 comments on commit 09b8b4b

Please sign in to comment.