{
"root": true,
"extends": "airbnb-base",
"env": {
"node": true,
"es6": true,
"mocha": true
},
"rules": {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function stringToLine(sentence, charactersPerLine) { | |
const length = sentence.length; | |
let line = ''; | |
for (let i = 0; i < length; i++) { | |
line = line + sentence[i]; | |
if ((i + 1) % charactersPerLine === 0 || (length - i + 1 <= charactersPerLine)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const middleware = { | |
some: function (a, b, next) { | |
if (a === 1){ | |
next(); | |
} else { | |
return false; | |
} | |
} | |
}; |
page
: current page of the query result based on limit and offsetpageCount
: total number of pagespageSize
: number of records per page (based on limit)totalCount
: total number of records based on query
#Branch Naming
Branches being created should have the following format:
<story type>/<story id>/<3-4 word story description>
#Example
chore/111504508/save-the-world
#Format of the commit message
<type>(<scope>): <subject>``<BLANK LINE>
<body>
<BLANK LINE>
<footer>
Any line cannot be longer than a 100 characters, meaning be concise.
Subject line
#PR Naming
#<story-id> story description
Example
#869522144 Build HQ for meetings
#PR Description Template (Markdown)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"title": "Alice in Wonderland", | |
"text": "Alice falls into a rabbit hole and enters a world full of imagination." | |
}, | |
{ | |
"title": "The Lord of the Rings: The Fellowship of the Ring.", | |
"text": "An unusual alliance of man, elf, dwarf, wizard and hobbit seek to destroy a powerful ring." | |
}, |
NewerOlder