VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.89k forks source link

eslint and babel update WIP #2704

Open Neobii opened 3 years ago

Neobii commented 3 years ago

I'm working on updating the eslint and babel and some issues are still there.

I've added the correct plugins so maybe there are just some linting issues throwing errors. github issue

 3:7  error  Parsing error: /home/adaml/Desktop/Vulcan/packages/vulcan-redux/lib/server/main.js: Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled (3:8):

  1 | import './reduxInitialState';
  2 |
> 3 | export setupRedux from './setupRedux';
    |        ^
  4 |
  5 | export * from '../modules/index';
Neobii commented 3 years ago

I notice that most of vulcan's packages are using package.js... but some meteor-mocha and vulcan-backoffice have a package.json. I can switch them to package.js or make a linting rule to ignore the json files. (Meteor mocha has both a json and a js file)