Skip to content

Improve current workflow #25908

Description

@gengjiawen

The core idea

Introduce Nodejs as base dependency to simplify current workflow.

The problem

  • Upgrade toolchain like eslint cumbersome.
  • Cpp format is really painful.
    When I work on src: refactor to nullptr #25888. I am pretty painful. With @joyeecheung awesome's work, we have clang-format also with make-formatc-cpp. But it's only available on unix-like os. And we have not clang-format the whole repo. I ended up copy the related snippet.
  • Lint fix
    Node community is more familiar with nodejs tools like npm or yarn instead of bash or bat file.
  • Use more community tools
    We may need to introduce more tools to improve develop efficiency like prettier and husky.

How do we achieve this

Update on 2019-02-07:

Update on 2019-02-12

  • There are other reason I don't like copy all eslint and babel-eslint and all its dependency code to this repo. It's just a tool. Also with this review eslint upgrade will be much easier.
  • Also I think we have same lint logic in both Makefile and vcbuild.bat. Unify it in package.json will remove redundant code.

Activity

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

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions