Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
refactor(eslint): add ecmaVersion and sourceType (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 5, 2024
1 parent d280692 commit c0a744b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ export default defineFlatConfig([
unicorn.configs['flat/recommended'],
{
languageOptions: {
ecmaVersion: 'latest',
globals: {
...globals.node,
},
parser: typescriptParser,
parserOptions: {
project: 'tsconfig.json',
},
sourceType: 'module',
},
settings: {
'import/resolver': {
Expand Down

0 comments on commit c0a744b

Please sign in to comment.