Skip to content

Commit

Permalink
Add ESM and CommonJS sources to Standard Selector
Browse files Browse the repository at this point in the history
I think that `.cjs` and `.mjs` are much more common now and should be included in the standard selector
  • Loading branch information
rgant authored Feb 26, 2025
1 parent fa7bd76 commit 6a6198e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
logger = logging.getLogger('SublimeLinter.plugin.eslint')


STANDARD_SELECTOR = 'source.js, source.jsx'
STANDARD_SELECTOR = 'source.js, source.jsx, source.mjs, source.cjs'
PLUGINS = {
'eslint-plugin-html': 'text.html',
'eslint-plugin-json': 'source.json',
Expand Down

0 comments on commit 6a6198e

Please sign in to comment.