[Pkg-javascript-devel] Bug#960095: eslint: Build with babel version 7

Pirate Praveen praveen at onenetbeyond.org
Sat May 9 12:53:05 BST 2020



On Sat, May 9, 2020 at 1:47 pm, Jonas Smedegaard <jonas at jones.dk> wrote:
> Yes, my mistake: ESLint build-depend on (and suggest)
> node-babel-code-frame (not node-babel-eslint).
> 
> Question remain: How is ESLint affected by the babel transition?

We cannot remove node-babel 6 from the archive until eslint remove the 
build dependency on node-babel-code-frame.

> What action is possible to take from the side of eslint?!?

babel-code-frame is renamed to @babel/code-frame in babel 7 (included 
in node-babel7 package). So replace node-babel-code-frame with 
node-babel7 in build dependency and patch any code that has 
require('babel-code-fram') with require('@babel/code-frame').



More information about the Pkg-javascript-devel mailing list