From fc07bc56bc36966b886264b3dc7ac119052c25f7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 17 Jun 2017 16:59:17 +0300 Subject: [PATCH] Updated Developer Documentation (markdown) --- Developer-Documentation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Developer-Documentation.md b/Developer-Documentation.md index 0d5a7c9..9900e97 100644 --- a/Developer-Documentation.md +++ b/Developer-Documentation.md @@ -18,6 +18,11 @@ Please read the meteor style guide before making any significant contribution. - Read Wekan source code. - Read Meteor documentation. +## Preventing Travis CI lint errors before submitting pull requests + +- Eslint for linting. To prevent Travis CI lint errors, you can test for lint errors with "npm run lint" +- If you want automatic fixes to that code file you can copy code to [jsbeautifer website](http://jsbeautifier.org) with settings Indent with 2 spaces (topmost dropdown), [X] Space before conditional: "if(x)" / "if (x)", [X] Use JSLint-happy formatting tweaks. + ## Pull Request Workflow (Please read before submitting PR's) - Use the [feature branch](https://www.atlassian.com/git/tutorials/comparing-workflows#feature-branch-workflow) workflow. @@ -37,11 +42,6 @@ Please read the meteor style guide before making any significant contribution. Main point is to be friendly to those commenting of your code, and incorporate those suggestions that make most sense. -# Preventing Travis CI lint errors when submitting pull requests - -- Eslint for linting. To prevent Travis CI lint errors, you can test for lint errors with "npm run lint" -- If you want automatic fixes to that code file you can copy code to [jsbeautifer website](http://jsbeautifier.org) with settings Indent with 2 spaces (topmost dropdown), [X] Space before conditional: "if(x)" / "if (x)", [X] Use JSLint-happy formatting tweaks. - # Build Pipeline