Skip to content

Commit

Permalink
[FIX] eslint: Fix 'import' sentence error (#80)
Browse files Browse the repository at this point in the history
Fix the following error

  Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

Fixing using the following solution:
  AtomLinter/linter-eslint#462 (comment)
  • Loading branch information
moylop260 authored Nov 2, 2022
1 parent c5e8c8a commit 09b5d95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pre_commit_vauxoo/cfg/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"yoda": "error"
},
"parserOptions": {
"ecmaVersion": "2021"
"ecmaVersion": "2021",
"sourceType": "module"
}
}

0 comments on commit 09b5d95

Please sign in to comment.