From 7457f159d43c5f5760eb7deb3cf998e6d4c44666 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 11 Jul 2024 12:17:38 +0200 Subject: [PATCH] feat(env): enable modern JS features --- .github/workflows/_test.yml | 4 ++-- .jshintrc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 76d64daf7..6cc146b28 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -8,10 +8,10 @@ jobs: os: - ${{ vars.UBUNTU_VERSION }} node-version: - - 12.x - - 14.x - 16.x - 18.x + - 20.x + - 22.x steps: - uses: actions/checkout@v4 - name: 'Install node.js ${{ matrix.node-version }}' diff --git a/.jshintrc b/.jshintrc index 6b5af2b22..a84cd32a4 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,7 +2,7 @@ "node": true, "curly": true, "eqeqeq": true, - "esversion": 9, + "esversion": "2022", "freeze": true, "immed": true, "indent": 2,