Follow-up for #3776.
First thought: we should have an end-to-end test that depends on ES6 package (e.g. chalk@2.x). After the build, we can run ESLint in ES5 mode with no rules on the compiled bundle so that end-to-end test fails if we accidentally include ES6 code.
There may be more things we need to test. I’m not sure. Thoughts?
My original todos:
Follow-up for #3776.
First thought: we should have an end-to-end test that depends on ES6 package (e.g.
chalk@2.x). After the build, we can run ESLint in ES5 mode with no rules on the compiled bundle so that end-to-end test fails if we accidentally include ES6 code.There may be more things we need to test. I’m not sure. Thoughts?
My original todos:
enginesfield that implies we don't need compilation)sourceType[8.x] Gain consensus on path forward for "sourceType" for parsing modules vs scripts babel/babel#6242.babelrcin packages gets ignored