Skip to content

Commit

Permalink
Update Mocha ecmaVersion (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks authored Apr 8, 2022
1 parent fd38dbc commit 7d2a60d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mocha/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ module.exports = {

extends: ['plugin:mocha/recommended'],

parserOptions: {
ecmaVersion: '2020',
},

rules: {
'mocha/no-exclusive-tests': 'error',
'mocha/no-hooks-for-single-case': 'error',
Expand Down

0 comments on commit 7d2a60d

Please sign in to comment.