How to Allow Trailing Commas (Comma-Dangle) With Typescript-ESLint
ESLint comes with support to require or disallow trailing commas. This option is also known as “comma-dangle”. Trailing commas are supported in JavaScript by ECMAScript v5. Here’s a simple example: const futurestudio = { team: ['Marcus', 'Norman', 'Christian'], } The comma after team: ['Marcus', 'Norman', 'Christian'], is a trailing comma. This tutorial …
Continue Reading