Skip to content

Commit

Permalink
Simplified module config block, disabled globals for dom.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Nov 27, 2024
1 parent d4b2f46 commit e727c4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export default [
}
},
{ files: ['**/chatgpt.js'], languageOptions: { globals: { chatgpt: 'off' }}},
{ files: ['**/*.mjs', '**/components/*.js', '**/lib*/*.js'], languageOptions: { sourceType: 'module' }},
{ files: ['**/dom.js'], languageOptions: { globals: { chatgpt: 'dom' }}},
{ files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }},
{ files: ['**/*.json'], ignores: ['**/package-lock.json'], language: 'json/json', ...json.configs.recommended },
{
files: ['**/*.md'], language: 'markdown/commonmark', plugins: { markdown },
Expand Down

0 comments on commit e727c4c

Please sign in to comment.