From 703dc0082616c4fcfc8fb432fb0f95df4bbc535c Mon Sep 17 00:00:00 2001 From: Viktor Sulak Date: Mon, 7 Nov 2022 10:22:42 +0100 Subject: [PATCH] Updated "browser" compatibility back to ES6 --- CHANGELOG.md | 4 ++++ browser.js | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9c096..6cad6ab 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 16.1.0 (2022-11-07) + +- Updated target compatibility of browser back towards `ES6` + ## 16.0.0 (2022-11-05) - Added `commonjs` rule set with diff --git a/browser.js b/browser.js index bf51a79..9e881d8 100755 --- a/browser.js +++ b/browser.js @@ -1,12 +1,11 @@ module.exports = { extends: [ - 'touch4it', + 'touch4it/commonjs', ], env: { + es6: true, + es2019: false, node: false, browser: true, }, - rules: { - 'unicorn/prefer-module': 'off', - }, };