Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Eslint upgrade to v5.4.0 #128

Closed
wants to merge 1 commit into from
Closed

Eslint upgrade to v5.4.0 #128

wants to merge 1 commit into from

Conversation

kevinlambert
Copy link

馃惪 v2.10.2

Eslint complains about React shorthand for fragments <> </>. The problem has been fixed in eslint v5.x but n-gage is using v4.x. see eslint/eslint#9662

This upgrades to v5.4.0. It does have breaking changes.

The following warning appears when running v5.4.0 on N-ui, Next-myst-client, N-hanelbars, N-flags-client:

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

 馃惪 v2.10.2
@adgad
Copy link
Contributor

adgad commented Aug 28, 2018

Could we update the .eslintrc.js file in repo to use the non-deprecated option?

@kevinlambert
Copy link
Author

kevinlambert commented Aug 28, 2018

There are 13 repositories that use the experimentalObjectRestSpread

I would suggest rather releasing a major version of n-gage and then the owners of the various repos can upgrade and test as and when they want to.

@apaleslimghost
Copy link
Member

closing, we've updated to eslint 5 and we're using renovate now

@apaleslimghost apaleslimghost deleted the eslint-upgrade branch July 10, 2019 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants