Skip to content

Latest commit

 

History

History
97 lines (85 loc) · 7.29 KB

File metadata and controls

97 lines (85 loc) · 7.29 KB

Features

Implementation

  • Use Immutable.js.

Bugs

  • CLI "Maximum call stack size exceeded" on TypeScript repo.
  • Inner comments are removed after formatting. E.g. import A /*inner comment*/ from 'a'.

DONE

  • Remove dirname in ESLint. (Link, ESLint PRs (PR, PR))
  • Add debug mode to CLI. (Link)
  • Support ESLint rule comma-dangle.
  • Support import assertions.
  • Ignore import assertions.
  • Support "none" in top level sortRules.
  • Standalone npm package, CLI version. (Link, Link, Example)
  • Support \r and \n\r as newlines.
  • Do NOT sort script imports.
  • Do not remove export {} if there is no import/export left, see here.
  • Support ESLint plugin import/order. (Link, Rule, Rule, API)
  • Organize Imports should sort by import name instead path. (Link, Link)
  • Infer 'flag' from sub-groups in GroupRule. (Link)
  • Test coverage. (Example, Doc)
  • Support twin.macro. (Link)
  • Write CONTRIBUTING.md.
  • Add config json schema.
  • Debug logs, open issue template, easy way to copy/paste logs for bug fix.
  • Test unused/deep fails on Windows 10 + VS Code 1.42.1.
  • Unit tests.
  • Sort exports. (Link, Doc)
  • Required h import missing (StencilJS). (Link)
  • Provide an option to not sort "Plain import". (Link)
  • Shebangs are moved after imports. (Link)
  • Option to ignore node_modules. (Link)
  • Support TSLint plugin import order. (Link)
  • Useless alias (renaming). (Link)
  • Support glob in exclude path pattern.
  • Write Integration tests.
  • Build Integration test mechanism.
  • Different word limit for one- and multi-line imports. (Link)
  • Consider trailing comments when calc against max line length.
  • Multi Root Workspace support.
  • Newline: \n or \n\r
  • Respect formatOnSave and other config, e.g. tabSize.
  • Deep dive on id reference.
  • JavaScript support.
  • Wrap default import.(Link)
  • Support absolute config paths. (Link)
  • Special comment to disable import sorter for a file or line.
  • "exclude" should be merged instead of replaced.
  • Handle implicit React.
  • Preserve comments after sorting.
  • Handle script imports.
  • Format leading spaces anyway.

CANCELLED

  • Use client node_modules/ ESLint. (Link)
  • Option to not normalize "." and "..". (Link)
  • Folding imports. (Link)

Externalise

  • (precondition) assert, assertNonNull
  • isObject, merge(Object)
  • noNew
  • findFileFromPathAndParents, parentFolder, normalizePath, removeLastSlash, removeLastIndex
  • concatArray, concatArrayEx, dedupFlags, join, compareKeyValue
  • getTrailingNewLines