Skip to content

Don't limit the length of require lines. #752

Closed

Description

@conartist6

lines such as

const MyReallyExtrememlyLongModuleName = require('MyReallyExtrememlyLongModuleName');

should not be split apart. Once split, module system parsers will fail to understand the dependency.

Activity

  1. vjeux commented on Feb 20, 2017

    @vjeux
    Contributor

    module system parsers will fail to understand the dependency

    Can you tell us which require system you are working with? The ones I know have pretty permissive regarding to whitespace and should cover this case.

  2. conartist6 commented on Feb 21, 2017

    @conartist6
    Author

    Facebook's...

  3. vjeux commented on Feb 21, 2017

    @vjeux
    Contributor

    I opened an internal task about it, we need to fix our stuff rather than hardcoding something inside of prettier :)

  4. added 2 commits that reference this issue on Mar 1, 2017
    79749e9
    8d85aed
  5. added a commit that references this issue on Mar 3, 2017
    705ac7d
  6. added
    status:awaiting response
    and removed on Oct 1, 2017
  7. added
    locked-due-to-inactivity
    on Jul 6, 2018
  8. locked as resolved and limited conversation to collaborators on Jul 6, 2018
  9. removed
    status:awaiting response
    on Aug 19, 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

    locked-due-to-inactivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions