mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
jslint tips
parent
28abef4ecb
commit
8e5e5716f1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ Main point is to be friendly to those commenting of your code, and incorporate t
|
|||
- Templates are written in [JADE](https://naltatis.github.io/jade-syntax-docs/) instead of plain HTML.
|
||||
- CSS is written in the [Stylus](http://stylus-lang.com/) precompiler, and
|
||||
- Meteor templates are created as BlazeLayout templates.
|
||||
- Eslint for linting.
|
||||
- Eslint for linting. You can test for lint errors with "npm run lint" and 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
|
||||
- Instead of the allow/deny paradigm a lot of the `collections` defined in the project use `mutations` to define what kinds of operations are allowed.
|
||||
|
||||
For further details look for the 'feature summaries' in the Wiki (still in progress) otherwise go through the git history and see how old features were built. Might I suggest the Start and Due date feature [wefork#26](https://github.com/wefork/wekan/pull/26)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue