Skip to content

update require/import section of javascript.md #57

Open
@kevinbarabash

Description

@kevinbarabash
  • remove sorting of require/import statements
  • blocks continues to be the same with the addition of a new block, flow type imports which should come last
  • prefer ES6 import syntax over require
  • destructuring should happen on the same line as the import, e.g. import React, {Component} from 'react'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions