Skip to content

Commit

Permalink
support mjs/cjs config file extension for eslint (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiangmoe committed Feb 13, 2020
1 parent b03a61e commit 17f9cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iconsManifest/supportedExtensions.ts
Expand Up @@ -1312,15 +1312,15 @@ export const extensions: IFileCollection = {
icon: 'eslint',
extensions: ['.eslintrc', '.eslintignore', '.eslintcache'],
filenamesGlob: ['.eslintrc'],
extensionsGlob: ['js', 'json', 'yaml', 'yml'],
extensionsGlob: ['js', 'mjs', 'cjs', 'json', 'yaml', 'yml'],
filename: true,
format: FileFormat.svg,
},
{
icon: 'eslint2',
extensions: ['.eslintrc', '.eslintignore', '.eslintcache'],
filenamesGlob: ['.eslintrc'],
extensionsGlob: ['js', 'json', 'yaml', 'yml'],
extensionsGlob: ['js', 'mjs', 'cjs', 'json', 'yaml', 'yml'],
filename: true,
format: FileFormat.svg,
disabled: true,
Expand Down

0 comments on commit 17f9cde

Please sign in to comment.