eclipsesource / eclipsesource/tabris-con

Reorder imports

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
10
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Introduce a convention for the import order to make imports easier to comprehend. E.g.:

1. Imports of modules from Tabris.js
3. Imports of third-party modules
2. Imports of own app modules

Imports of each part could be sorted like this (from the general to the specific):

1. Imports of default exports (`import ... from "...";`)
2. Imports of all exports (`import * as ... from "...";`)
3. Imports of single/multiple exports with the curly brace syntax (`import {...[, ...]} from "..."`)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.