Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Support Babel in all of the same ways as CoffeeScript #8416

@maxbrunsfeld

Description

@maxbrunsfeld

We want to move toward writing new code in javascript, not coffeescript. For example: https://github.com/atom/line-ending-selector. But before we start bundling packages written in Babel, we need to improve some infrastructure around it.

Tasks

The CI script

  • Make sure it runs specs properly for packages that use babel
  • Somehow detect when packages are using Standard Style and lint them properly

Bundled Packages

  • Make the build script treat babel source files the same as coffee-script files
  • Make the Gruntfile compile babel files

Opting in to Babel

  • Create an alternative to the 'use babel' string that fits in better with other babel directives. Maybe this:
/** use babel */
/** @jsx dom */

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions