From f580e85257feb1d84c54c40e5eb6e31f6e6c1af4 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 7 Sep 2021 17:47:34 -0700 Subject: [PATCH] update lint --- .eslintrc.json | 3 +-- spec/esmock.spec.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d2361987..a54ad24c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,10 +3,9 @@ "env": { "node": true }, - "parser": "babel-eslint", "parserOptions": { "sourceType": "module", - "ecmaVersion": 6, + "ecmaVersion": "latest", "allowImportExportEverywhere": true }, "globals": { diff --git a/spec/esmock.spec.js b/spec/esmock.spec.js index 1748ab64..35ff790d 100644 --- a/spec/esmock.spec.js +++ b/spec/esmock.spec.js @@ -252,5 +252,5 @@ test('returns spread-imported [object Module] default export', async t => { } }); - t.is( main.exportedFunction(), 'foobar'); + t.is(main.exportedFunction(), 'foobar'); });