#1004244 eslint: Please update at least to version ≥ 7

#1004244#5
Date:
2021-12-09 08:38:56 UTC
From:
To:
Hi,

to update node-eslint-plugin-flowtype, I need
eslint/lib/rules/no-unused-expressions which is provided by eslint 7

Cheers,
Yadd

#1004244#10
Date:
2022-01-23 11:11:35 UTC
From:
To:
Please update to version 8, which supports private fields [1].  The
version currently in sid cannot even parse a file in which a private
field appears (it prints "Parsing error: Unexpected character '#'" and
exits), so it is unusable.  Thanks in advance.

[1]
https://stackoverflow.com/questions/57385125/eslint-does-not-recognize-private-field-declaration-using-nodejs-12

#1004244#15
Date:
2022-01-23 11:36:16 UTC
From:
To:
Hi Tityron,

Quoting Tityron (2022-01-23 12:11:35)

Upgrading eslint involves packaging additional modules so is likely to
take longer.  Possibly a limited set of changes can be cherry-picked in
the interim.

Thanks for bringing this issue to our attention.

 - Jonas

#1004244#28
Date:
2022-01-23 14:09:59 UTC
From:
To:
Quoting Yadd (2021-12-09 09:38:56)

Whoops - I missed that this was an older bug to track different needs.

@Yadd: Can you try pinpoint which features are needed for the flowtype
plugin - perhaps support can be cherry-picked...

Also, do you mind that "your" bugreport now got renumbered?


 - Jonas

#1004244#33
Date:
2022-05-02 08:06:06 UTC
From:
To:
About eslint 8 dependencies:
- v8-compile-cache, one of the missing deps, is in NEW.
- @humanwhocodes/config-array should be bundled, it's barely useful outside eslint
- @eslint/eslintrc should be bundled: "It is ESLint-specific and not intended for use in other programs."
- node-cross-spawn is useless and can be patched away by nodejs spawn
- node-json-stable-stringify-without-jsonify can be patched to use node-json-stable-stringify, i guess

So it looks good !

#1004244#38
Date:
2022-05-02 09:14:35 UTC
From:
To:
Mainly waiting for eslint-plugin-jsdoc getting packaged for Debian.  See
https://salsa.debian.org/js-team/eslint/-/blob/debian/latest/debian/TODO
For more details.

Quoting Jérémy Lal (2022-05-02 10:06:06)

That sounds good, as it will provide a runtime speed boost, but it is
already patched away (patch 2001 in current packaging) so not blocking
upgrade to eslint v7.


Already patched away (patch 2005 in current packaging) so not blocking
upgrade to eslint v7.

Already patched away (patch 2008 in current packaging) so not blocking
upgrade to eslint v7.

Main blocker is none of those mentioned above, however, but packaging
eslint-plugin-jsdoc that I consider too big for embedding and am
(slowly) preparing an independent package of.  Added that detail also as
initial paragraph of this post, for use as status message for the
bugreport.

Thanks for your investigations,

 - Jonas