Skip to content

custom quotes option is broken down #4803

Closed

Description

@e-cloud

Input Code

const aStr = "hi";

Babel Configuration (.babelrc, package.json, cli command)

{
  "generatorOpts": {
    "quotes": "single"
  }
}

Expected Behavior

const aStr = 'hi';

Current Behavior

const aStr = "hi";

Context

528128f#commitcomment-19483379

Your Environment

software version
Babel 6.18.0
node 6.9.1
npm 3.10.8
Operating System ubuntu 16.10

Activity

  1. changed the title [-]custom quotes option is broke down[/-] [+]custom quotes option is broken down[/+] on Nov 2, 2016
  2. hzoo commented on Jan 31, 2017

    @hzoo
    Member

    Closing this via #5154 - in order to fix this were going to drop quotes in 7.0 given it has been broken for a while and we don't really want to support custom options for compiled output (quotes, tabs, spaces, etc).

  3. added
    outdated
    on May 5, 2018
  4. locked as resolved and limited conversation to collaborators on May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has PRoutdated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions