n-riesco / jp-babel

jp-babel is a babel kernel for the Jupyter notebook
Other
86 stars 16 forks source link

DOC: Which paths for .babelrc are supported? #27

Open westurner opened 3 years ago

westurner commented 3 years ago

Where all can I place a .babelrc?

I'm assuming that ~/.babelrc works; but I generally don't want to set even user globals.

See also: #24

n-riesco commented 3 years ago

jp-babel searches the current directory and if it doesn't find it, it iterates the parent folders.

The current directory is determined by the frontend launching the kernel (e.g. Hydrogen sets it to the project folder).