vtk.js is an Open Source Framework for building Web application for Scientific Visualization.
The following guide explain our software process and tools use to build and develop this framework.
We rely on Semantic-release to manage our change log, tagging and publishing
to NPM via Travis.
In order to maintain that process each commit message should follow a specific
formatting. To ensure that formatting, we use Commitizen which can be triggered
via the following command. Additional information can be found
$ npm run commit
Then a set of questions will be presented to you:
$ npm run commit firstname.lastname@example.org, email@example.com Line 1 will be cropped at 100 characters. All other lines will be wrapped after 100 characters. ? Select the type of change that you're committing: (Use arrow keys) feat: A new feature fix: A bug fix docs: Documentation only changes ❯ style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) refactor: A code change that neither fixes a bug or adds a feature perf: A code change that improves performance (Move up and down to reveal more choices) ? Denote the scope of this change ($location, $browser, $compile, etc.): ESLint ? Write a short, imperative tense description of the change: Update code formatting to comply with our ESLint specification ? Provide a longer description of the change: ? List any breaking changes or issues closed by this change:
This process will generate the following commit message:
commit 1a31ecfcc2f6f4283e51187a24ce0e9d9c17ae54 Author: Sebastien Jourdain <firstname.lastname@example.org> Date: Mon Dec 21 09:29:21 2015 -0700 style(ESLint): Update code formatting to comply with our ESLint specification
Any code editor should be more than sufficient, however the recommended plugins listed below may not be as well supported or you may have to find alternative workarounds. The most important ones such as ES6/Babel syntax highlighting, ESLint are supported by multiple code editors which you may already use.
Then installing new plugins should start with:
Ctrl/Cmd + Shift + p > Install Package
With GitGutter, you can see which lines have been added, deleted or modified in the gutter.
This plugin adds proper syntax highlighting to your ES6/2015 and React JSX code.
$ npm install -g eslint