From bb1a5707d872d39212f1046a37afb3305807f788 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 10 May 2022 20:15:25 +0100 Subject: [PATCH] Updated eslint ecma version to 2020 - It's time, we want to be able to use more modern features, and now we're on node 14 min this makes sense - @TODO: do this in eslint-plugin-ghost and add new rules to guard the new features --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 2c8da7ff84..3456ab0865 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,6 +5,9 @@ module.exports = { es6: true, node: true }, + parserOptions: { + ecmaVersion: 2020 + }, plugins: ['ghost'], extends: [ 'plugin:ghost/node'