Skip to content

Commit

Permalink
fix: sourceType in flat config can be commonjs (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotEvenANeko committed Aug 5, 2023
1 parent aa89b5a commit 81f33a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flat-config/language-options.d.ts
Expand Up @@ -34,7 +34,7 @@ export interface LanguageOptions {
*
* @see [Configuring the JavaScript source type](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#configuring-the-javascript-source-type)
*/
sourceType?: SourceType;
sourceType?: SourceType | 'commonjs';

/**
* An object specifying additional objects that should be added to the global scope during linting.
Expand Down

0 comments on commit 81f33a1

Please sign in to comment.