Skip to content

Commit

Permalink
Allow language associations to override the js file extension (Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Feb 13, 2021
1 parent c589025 commit d1931be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const fileIcons: FileIcons = {
'jfif',
],
},
{ name: 'javascript', fileExtensions: ['js', 'esx', 'mjs'] },
{ name: 'javascript', fileExtensions: ['esx', 'mjs'] },
{ name: 'react', fileExtensions: ['jsx'] },
{ name: 'react_ts', fileExtensions: ['tsx'] },
{
Expand Down Expand Up @@ -200,7 +200,6 @@ export const fileIcons: FileIcons = {
'.clang-tidy',
],
},
{ name: 'typescript', fileExtensions: ['ts'] },
{ name: 'typescript-def', fileExtensions: ['d.ts'] },
{ name: 'markojs', fileExtensions: ['marko'] },
{ name: 'pdf', fileExtensions: ['pdf'] },
Expand Down Expand Up @@ -1369,6 +1368,6 @@ export const fileIcons: FileIcons = {
{ name: 'idris', fileExtensions: ['idr', 'ibc'] },
{ name: 'quasar', fileNames: ['quasar.conf.js'] },
{ name: 'pipeline', fileExtensions: ['pipeline'] },
{ name: 'opa', fileExtensions: ['rego']}
{ name: 'opa', fileExtensions: ['rego'] },
],
};

0 comments on commit d1931be

Please sign in to comment.