refinery29/js-standards

Silence Warning by Converting to ecmaVersion

johnnyshankman opened this issue · 1 comments

We've been getting the following warning in Rosetta related to our r29 eslint configuration.

(node:49164) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "r29")

We should do exactly that!

From petar:

Maybe something like this for example