Skip to content

Forces variable declarations onto single line #1607

@dhowe

Description

@dhowe

I'm using prettier in atom with eslint, all of which works great. The one problem I'm having is that it fixes

var assert = require('assert'),
  lookup = require('../lookup');

to

var assert = require('assert'),  lookup = require('../lookup');

even though the former is ok with my eslint config (is there a prettierOption I am missing?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions