From: Jukka Kurkela Date: Wed, 11 Aug 2021 12:23:18 +0000 (+0300) Subject: Update eslint settings for readable errors (#9534) X-Git-Tag: v3.5.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=567baad09dbb27055c0ea1b7ad0c61e4bdfca6d3;p=thirdparty%2FChart.js.git Update eslint settings for readable errors (#9534) --- diff --git a/.eslintrc.yml b/.eslintrc.yml index ed37aeaa2..61d3f9381 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,15 +1,19 @@ extends: - chartjs - - plugin:es/no-new-in-es2019 + - plugin:es/restrict-to-es2018 - plugin:markdown/recommended +settings: + es: + aggressive: true + env: es6: true browser: true node: true parserOptions: - ecmaVersion: 2018 + ecmaVersion: 2021 sourceType: module ecmaFeatures: impliedStrict: true