Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a linting task for gulp #43

Merged
merged 2 commits into from
Dec 10, 2014
Merged

Conversation

serv
Copy link

@serv serv commented Dec 10, 2014

I took the liberty and added a task gulp lint for the project.

To use the command:

npm install
gulp lint

As a result, it'll give you a log like this:

[22:16:13] Using gulpfile ~/projects/javascript/mermaid/gulpfile.js
[22:16:13] Starting 'lint'...

/Users/jkim/projects/javascript/mermaid/src/graphDb.js
  line 58   col 18  'linktext' is already defined.
  line 131  col 33  eval can be harmful.
  line 144  col 51  eval can be harmful.

  ⚠  3 warnings


/Users/jkim/projects/javascript/mermaid/src/utils.js
  line 21  col 2  Missing semicolon.

  ⚠  1 warning

[22:16:13] Finished 'lint' after 276 ms

knsv added a commit that referenced this pull request Dec 10, 2014
@knsv knsv merged commit fcfbce8 into mermaid-js:master Dec 10, 2014
mgenereu referenced this pull request in mgenereu/mermaid Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants