Skip to content
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
81c2045
fix lint problems
thatkookooguy Feb 29, 2016
77f897d
additional lint fixes
thatkookooguy Feb 29, 2016
b6b5610
sass lint
thatkookooguy Feb 29, 2016
099b735
more lint fixes in sass
thatkookooguy Feb 29, 2016
1565359
fix variable names
thatkookooguy Feb 29, 2016
ef8b32c
fix indentation
thatkookooguy Feb 29, 2016
b0eea09
remove spaces
thatkookooguy Feb 29, 2016
e1a6858
more sass lint fixes
thatkookooguy Feb 29, 2016
a1d1478
missed one comment!
thatkookooguy Feb 29, 2016
9511be6
replace tabs with spaces
thatkookooguy Feb 29, 2016
ddfc8e4
change order for linter
thatkookooguy Feb 29, 2016
8a386df
fix problems that occurred after lint :-)
thatkookooguy Feb 29, 2016
d4a0313
Merge pull request #72 from Kibibit/update-layout
thatkookooguy Feb 29, 2016
f937e21
make tree width overflow the container
thatkookooguy Mar 1, 2016
a7c0cfb
Merge pull request #74 from Kibibit/fix-tree-overflow
thatkookooguy Mar 1, 2016
7bfe9ba
initial concept
thatkookooguy Mar 1, 2016
1e45974
final UI fixes for json editor
thatkookooguy Mar 1, 2016
d6cb634
create a markdown editor
thatkookooguy Mar 1, 2016
69e9f09
init for markdown
thatkookooguy Mar 2, 2016
22e0a91
remove sanitize since it is not used by markdown component
thatkookooguy Mar 2, 2016
1dbca17
add support of highlighting code tags in markdown
thatkookooguy Mar 2, 2016
ae9b277
css fixes
thatkookooguy Mar 4, 2016
351c053
Create PULL_REQUEST_TEMPLATE.md
thatkookooguy Mar 5, 2016
9467e2c
Update PULL_REQUEST_TEMPLATE.md
thatkookooguy Mar 5, 2016
1af6fc6
Update PULL_REQUEST_TEMPLATE.md
thatkookooguy Mar 5, 2016
b7cf1ab
Create ISSUE_TEMPLATE.md
thatkookooguy Mar 5, 2016
96f005b
add word wrapping
thatkookooguy Mar 5, 2016
25433a9
Merge remote-tracking branch 'origin/master' into add-markdown-editor
thatkookooguy Mar 5, 2016
4a91bb5
add emoji support
thatkookooguy Mar 7, 2016
ff7b7a6
add seperator
thatkookooguy Mar 11, 2016
084c812
add lost commit to replace ace.js icons
thatkookooguy Mar 18, 2016
a805ace
replace favicon to kibibit's logo
thatkookooguy Nov 25, 2015
e7f0939
fix lint
thatkookooguy Mar 18, 2016
7dfbf52
replace ui-layout with new version :-(
thatkookooguy Mar 18, 2016
141fab2
Merge pull request #84 from Kibibit/replace-icons
thatkookooguy Mar 18, 2016
a8c59bf
created template and controller
ortichon Mar 21, 2016
d53e8a4
added file selection event to update code view
ortichon Mar 21, 2016
099d84d
add material icons
thatkookooguy Mar 22, 2016
6ecf75e
try and fix travis and heroku
thatkookooguy Mar 22, 2016
a766b51
trying removing this completely
thatkookooguy Mar 22, 2016
d0803e2
Revert "trying removing this completely"
thatkookooguy Mar 22, 2016
391d508
update angular maybe?
thatkookooguy Mar 22, 2016
a7d06f9
Revert "update angular maybe?"
thatkookooguy Mar 22, 2016
ea664cd
try the suggested fix
thatkookooguy Mar 22, 2016
9608e74
finished fileTree encapsulation
ortichon Mar 23, 2016
b95b46c
format and lint
ortichon Mar 23, 2016
ae7283d
remove fix since npm fixed things
thatkookooguy Mar 22, 2016
74771fc
Merge pull request #86 from Kibibit/add-material-icons
thatkookooguy Mar 23, 2016
5be55d4
error view + general fixes and styles
thatkookooguy Mar 29, 2016
b104972
make it orange
thatkookooguy Mar 29, 2016
e6cf80d
try and fix spinner
thatkookooguy Mar 29, 2016
3b84bbf
fix lint errors
thatkookooguy Mar 29, 2016
4a33316
ignore idselector linter because this is to change another library
thatkookooguy Mar 29, 2016
8e8e371
more lint fixes
thatkookooguy Mar 29, 2016
741d085
more lint
thatkookooguy Mar 29, 2016
afa7196
last lint?
thatkookooguy Mar 29, 2016
e0e96be
fix comment to disable lint
thatkookooguy Mar 29, 2016
d9579a3
disable nestingDepth for now
thatkookooguy Mar 29, 2016
d0fca8d
newline
thatkookooguy Mar 29, 2016
78420f7
disabling shit
thatkookooguy Mar 29, 2016
617d207
remove protocol so it will be selected automatically for `iframe`
thatkookooguy Mar 29, 2016
35b55b5
fixed #35 - file tree encapsulation
ortichon Apr 8, 2016
f10bf9f
hound errors fix
ortichon Apr 8, 2016
03aa8c0
one more hound error fix
ortichon Apr 8, 2016
73722e9
Merge branch 'master' into file-tree-encapsulation
thatkookooguy Apr 8, 2016
bf17b21
added some info about branches, commits, and stuff
thatkookooguy Apr 8, 2016
aba5434
Merge branch 'master' into file-tree-encapsulation
thatkookooguy Apr 8, 2016
a522282
Update CONTRIBUTING.md
thatkookooguy Apr 9, 2016
a1d6ffd
Merge branch 'master' into file-tree-encapsulation
thatkookooguy Apr 9, 2016
5589ef5
fix loading bar styling and disable some lint rules
thatkookooguy Apr 9, 2016
e629386
Merge pull request #92 from Kibibit/loading-bar-and-style
thatkookooguy Apr 9, 2016
1ce390b
Merge branch 'master' into file-tree-encapsulation
thatkookooguy Apr 9, 2016
2652ad8
toggle material icon with isFullscreen setting
thatkookooguy Apr 9, 2016
15b2499
lint fix
thatkookooguy Apr 9, 2016
7b0e993
Merge pull request #94 from Kibibit/make-full-screen-icon-toggle
thatkookooguy Apr 9, 2016
76351b7
Merge remote-tracking branch 'origin/master' into add-json-editor
thatkookooguy Apr 10, 2016
9b9cd0c
return home to the default editor for now
thatkookooguy Apr 10, 2016
40087bb
lint fixes for json editor
thatkookooguy Apr 10, 2016
8e4b044
Merge pull request #96 from Kibibit/json-editor-component
thatkookooguy Apr 10, 2016
14dd33a
Merge remote-tracking branch 'origin/master' into add-markdown-editor
thatkookooguy Apr 10, 2016
6b90bf6
update angular to 1.5.3
thatkookooguy Apr 10, 2016
d67f242
return home to return the default code editor for now
thatkookooguy Apr 10, 2016
2aaba7a
disable linter for init files
thatkookooguy Apr 10, 2016
40eccdb
lint fixes and removing comments
thatkookooguy Apr 10, 2016
4b325ef
Merge pull request #97 from Kibibit/markdown-editor-component
thatkookooguy Apr 10, 2016
e9f84d6
make scrollbar of tree align to the right of the modal
thatkookooguy Apr 10, 2016
465e313
Merge pull request #98 from Kibibit/little-fix-for-project-modal
thatkookooguy Apr 10, 2016
6b0e488
Merge remote-tracking branch 'origin/master' into add-error-view
thatkookooguy Apr 10, 2016
3032977
redo error page because of https
thatkookooguy Apr 10, 2016
cdb867f
return to default code editor
thatkookooguy Apr 10, 2016
f51c7c3
format code
thatkookooguy Apr 10, 2016
c801667
lint errors
thatkookooguy Apr 10, 2016
5bc069f
more fixes
thatkookooguy Apr 10, 2016
6374301
more lint fixes
thatkookooguy Apr 10, 2016
e7d45ba
aaand more
thatkookooguy Apr 10, 2016
a3999df
Merge pull request #100 from Kibibit/error-view-component
thatkookooguy Apr 10, 2016
ecd4bb1
Merge remote-tracking branch 'origin/master' into file-tree-encapsula…
ortichon Apr 10, 2016
dc1fd3d
changes according to CR
ortichon Apr 10, 2016
a522833
minor bug fix + hound fixes
ortichon Apr 10, 2016
627a66e
some more hound fixes
ortichon Apr 10, 2016
012b7c5
bug fix - no menu bar path
ortichon Apr 10, 2016
7e1c9f2
bug fix - modal close button
ortichon Apr 10, 2016
7eb5cf7
hound fixes!
ortichon Apr 10, 2016
e0dbb9c
Merge pull request #91 from Kibibit/file-tree-encapsulation
ortichon Apr 10, 2016
c6be8a2
return the modal scrollbar
thatkookooguy Apr 10, 2016
9a34b52
try and fix scrollbar in project modal
thatkookooguy Apr 10, 2016
ab1404c
fix scroll for project modal after file tree encapsulation
thatkookooguy Apr 11, 2016
02a00ec
fix recent bugs
thatkookooguy Apr 11, 2016
d5dd39e
lint problems ;-)
thatkookooguy Apr 11, 2016
c3638ef
Merge pull request #101 from Kibibit/fix-scroll-for-project-modal
thatkookooguy Apr 11, 2016
9ef30e4
make server return the correct name for the source directory
thatkookooguy Apr 11, 2016
dbf8484
Merge pull request #105 from Kibibit/fix-server-folder-name
thatkookooguy Apr 11, 2016
adda247
hide app loading
thatkookooguy Apr 11, 2016
92feadf
hound fixes
thatkookooguy Apr 11, 2016
6d52ed9
Merge pull request #107 from Kibibit/make-app-load-gracefully
thatkookooguy Apr 11, 2016
7ba21fe
make undo and redo buttons work
thatkookooguy Apr 13, 2016
7f2d696
hound fixes
thatkookooguy Apr 13, 2016
99ed154
make icon grey as well
thatkookooguy Apr 13, 2016
6df2dee
Add a logo until the app initiats
thatkookooguy Apr 15, 2016
678535f
remove unwanted code
thatkookooguy Apr 15, 2016
95f6c0f
fix lint problems
thatkookooguy Apr 15, 2016
e313993
grrrr!
thatkookooguy Apr 15, 2016
b3ec2a4
last one!
thatkookooguy Apr 15, 2016
d4f7564
CR
thatkookooguy Apr 15, 2016
5393141
change font css prefix to kibibit
thatkookooguy Apr 16, 2016
770a057
Merge pull request #109 from Kibibit/make-undo-redo-work
ortichon Apr 16, 2016
2867b51
replace ui-layout version
thatkookooguy Apr 18, 2016
acd29f6
update angular version
thatkookooguy Apr 18, 2016
aef8cce
Merge pull request #112 from Kibibit/replace-ui-layout-version
thatkookooguy Apr 18, 2016
5f15f66
add project avatar
thatkookooguy Apr 21, 2016
a67dc99
hound fixes
thatkookooguy Apr 21, 2016
0a7eff3
newline at eof
thatkookooguy Apr 21, 2016
46202f3
change 0px to 0
thatkookooguy Apr 21, 2016
ce9eef4
add a custom scss linter
thatkookooguy Apr 21, 2016
471504a
add file type
thatkookooguy Apr 21, 2016
48eb5fb
create a scss format file for hound and local linters
thatkookooguy Apr 21, 2016
ae778d7
align vertically the kibibit placeholder
thatkookooguy Apr 22, 2016
e2bd54f
Merge branch 'master' into add-project-avatar
ortichon Apr 22, 2016
6db3fcb
update some info about kibibit, and add a screenshot :-)
thatkookooguy Apr 22, 2016
7b28fdb
Merge branch 'master' into add-project-avatar
ortichon Apr 22, 2016
99eb388
Merge pull request #115 from Kibibit/add-project-avatar
ortichon Apr 22, 2016
e19d4fa
[DO NOT SUBMIT] zombify kibibit (#120)
thatkookooguy May 6, 2016
d70eee7
[DO NOT SUBMIT] make gears component (#117)
thatkookooguy May 6, 2016
4dd470c
Change settings to use setters and getters (#119)
thatkookooguy May 6, 2016
9c13f58
init implementation
thatkookooguy May 7, 2016
83e8774
fix lint
thatkookooguy May 7, 2016
c80eeb7
avoid binary files
thatkookooguy May 7, 2016
d9d6357
lint
thatkookooguy May 7, 2016
d138546
lint!
thatkookooguy May 7, 2016
c950d76
Added line length setter
May 9, 2016
1c67bb8
final touches for ruler settings
May 10, 2016
7def376
implemented line wrap button
May 10, 2016
b2d404e
implemented line-wrap-column
May 10, 2016
69fdde3
refactored the editorSettings
May 10, 2016
53aa2e2
Implemented font size change
May 10, 2016
787e7fb
added menu icons
May 11, 2016
5723693
added indentation settings
May 11, 2016
479cef1
some hound fixes
May 11, 2016
cee39cf
more hound
May 11, 2016
0883d8a
added gutter toggle and removed "wrap line column"
ortichon May 12, 2016
a66f97d
fixed gutter bug
ortichon May 12, 2016
8849d09
Added text syntax mode to settings
ortichon May 12, 2016
be434d3
minor fix to gutter info/warning/error
ortichon May 13, 2016
b25dee4
implemented code editor settings init
ortichon May 13, 2016
b9f8854
added modelist.js and syntax selector to index.html
ortichon May 13, 2016
bb9b9f9
added editor theme setter and themelist.js
ortichon May 13, 2016
786751d
check if file info exists
thatkookooguy May 14, 2016
0771111
hound fixes
ortichon May 14, 2016
f8c26f8
added theme/syntax selectors container class
ortichon May 14, 2016
eb95e22
changed status bar margin to 10px
ortichon May 14, 2016
17e6ad8
removed caret from theme/syntax selectors
ortichon May 14, 2016
7f2bf26
hound
ortichon May 14, 2016
d554615
theme ace's search for kibibit + create _codeEditor.scss
thatkookooguy May 14, 2016
ba57b94
fix hound
thatkookooguy May 14, 2016
dac9cb0
correct comments
thatkookooguy May 14, 2016
ec100e8
make highlight color match theme
thatkookooguy May 14, 2016
86c5de3
make the search a bit less transparent
thatkookooguy May 14, 2016
210d13e
syntax/theme selectors styling
May 15, 2016
2a63d55
removed redundant setting from menubar
May 15, 2016
eafa757
hound
May 15, 2016
a35394d
Merge pull request #127 from Kibibit/refactor-editor-style
ortichon May 15, 2016
bd0e602
added aria-label to prevent console error
May 15, 2016
058d37c
added "read only" mode to settings
May 18, 2016
91a2dfb
typo
May 18, 2016
f93f49c
Merge remote-tracking branch 'origin/master' into code-editor-settings
May 18, 2016
57409ef
added code-editor settings init function
May 18, 2016
be2d561
added mode/theme list constants
May 18, 2016
e9a3a15
removed editorSettings getter
May 18, 2016
26f7f1c
changed the default syntax mode to "text"
May 18, 2016
abbf03f
theme/mode assertion now checks in theme/mode list
May 18, 2016
cb4e36c
removed duplicate scss code
May 18, 2016
3ec5b69
changed status-bar-float-right class name
May 18, 2016
5b35721
assertion message is now angular constant
May 18, 2016
37d1054
fixed gitignore
May 18, 2016
31be697
fixed code-editor init && reverted .gitignore
May 18, 2016
be58131
changed "this" to "editorSettings"
May 18, 2016
69d2b94
Fixing lint error
thatkookooguy May 18, 2016
f90eef5
removed the important + changed measures to rem
thatkookooguy May 18, 2016
b775a1c
change comment to //
thatkookooguy May 18, 2016
d654eb3
changed "_editor" to "editor" in several places
May 19, 2016
291da7f
Merge remote-tracking branch 'origin/code-editor-settings' into code-…
May 19, 2016
9352c1c
changed "editorOptions" to "attachedEditorFunctions"
May 19, 2016
cf07c25
"TYPE_ERROR_MSGS" firmatting
May 19, 2016
c30b46f
added background color to "selected" syntax/theme
May 19, 2016
ce0702f
changed statusbar selector hover/active design
May 19, 2016
0bc2214
make certain styles global and certain styles local
neilkalman-redkix May 19, 2016
cd423ff
fix lint errors
neilkalman-redkix May 19, 2016
3c95839
Merge pull request #129 from Kibibit/code-editor-settings
thatkookooguy May 19, 2016
d131ed1
created recursive "closeFolder" function
May 19, 2016
4feb14c
hound
May 19, 2016
3ab6dd6
refactored "closeFolder" function to be more efficient
ortichon May 19, 2016
999073d
hound
ortichon May 19, 2016
7dcb5c0
use "startsWith" instead of "indexOf"
ortichon May 19, 2016
364d8f6
removed redundant declarations
ortichon May 19, 2016
2395c3b
Merge pull request #130 from Kibibit/remove-subfolders-from-folder-array
thatkookooguy May 19, 2016
1f9f5d2
Merge branch 'master' into add-file-type
thatkookooguy May 20, 2016
a49421e
fix placement of assignment
thatkookooguy May 20, 2016
76781bc
fix some nits in settingsService.js
thatkookooguy May 20, 2016
fa53486
Make code more organized
thatkookooguy May 20, 2016
25448e1
combine error messages constants
thatkookooguy May 20, 2016
c5ce087
formatting + lint errors
thatkookooguy May 20, 2016
f770355
little nit :-)
thatkookooguy May 20, 2016
ea52d79
remove unused dependency
thatkookooguy May 20, 2016
e2a0789
comment to make current solution more clear
thatkookooguy May 20, 2016
99960f5
lint
thatkookooguy May 20, 2016
73702af
fix error on unsupported files
thatkookooguy May 20, 2016
ee27dc8
final fix -__-
thatkookooguy May 20, 2016
cff1761
fix closing tag of kb-code-editor
thatkookooguy May 20, 2016
4cb5662
Merge branch 'master' into add-file-type
thatkookooguy May 20, 2016
03f1089
Merge pull request #132 from Kibibit/add-file-type
ortichon May 20, 2016
b614e42
combine all editors to a single mega-editor
thatkookooguy May 22, 2016
338f331
fixed changing syntax on open or undefined files
thatkookooguy May 22, 2016
a336cb5
lint errors
thatkookooguy May 22, 2016
acee6ec
final lint
thatkookooguy May 22, 2016
7526d66
add comment
thatkookooguy May 22, 2016
62f810a
make markdown links open in a new tab
thatkookooguy May 22, 2016
77f14da
lint
thatkookooguy May 22, 2016
695f1ee
actually apply the new directive -___-
thatkookooguy May 22, 2016
fa694d8
Added a little fix for ES6 files on server side
neilkalman-redkix May 23, 2016
8192455
change comment type
neilkalman-redkix May 23, 2016
9b0f3fb
initial minimap concept
neilkalman-redkix May 25, 2016
645e151
fixed colour of empty JSON property
ortichon May 25, 2016
587c335
hound
ortichon May 25, 2016
e1143c4
Merge pull request #134 from Kibibit/combine-all-editors
ortichon May 25, 2016
add1a83
use rectangle font instead of background: currentColor
neilkalman-redkix May 29, 2016
2c42fdf
remove comment
neilkalman-redkix May 29, 2016
f07cb84
Merge remote-tracking branch 'origin/master' into minimap-concept
neilkalman-redkix May 29, 2016
46f6ca7
fix angular versioning for travis and heroku
neilkalman-redkix May 29, 2016
841b57f
remove inline styling because of new solution
thatkookooguy May 29, 2016
d03bc4a
hound fixes
thatkookooguy May 29, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*~
/logs/**
/node_modules/**
/public/assets/css/**
/public/assets/css/style.css
/public/assets/lib/bower_components/**
8 changes: 8 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fail_on_violations: true
jscs:
enabled: true
config_file: .jscsrc_hound
javascript:
enabled: false
scss:
config_file: .scss.yml
112 changes: 112 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"additionalRules": [
"./node_modules/jscs-angular/src/rules/*.js"
],
"angularAllowDirectiveRestrictions": "EA",
"angularRequireDependencyOrder": "first",
"angularVerifyDependencyUsage": true,
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch"
],
"requireOperatorBeforeLineBreak": [
"=",
"+",
"-",
"/",
"*",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
],
"requireCamelCaseOrUpperCaseIdentifiers": {"ignoreProperties": true},
"maximumLineLength": {
"value": 80,
"allExcept": ["comments", "regex"]
},
"validateIndentation": 2,
"validateQuoteMarks": "'",

"disallowMultipleLineStrings": true,
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowMultipleVarDecl": {
"allExcept": ["require"]
},
"disallowKeywordsOnNewLine": ["else"],

"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"return",
"try",
"catch"
],
"requireSpaceBeforeBinaryOperators": [
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
"&=", "|=", "^=", "+=",

"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
"|", "^", "&&", "||", "===", "==", ">=",
"<=", "<", ">", "!=", "!=="
],
"requireSpaceAfterBinaryOperators": true,
"requireSpacesInConditionalExpression": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInForStatement": true,
"requireLineFeedAtFileEnd": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInsideObjectBrackets": "all",
"disallowSpacesInsideArrayBrackets": "all",
"disallowSpacesInsideParentheses": true,

"disallowMultipleLineBreaks": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowKeywords": ["with"],
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInCallExpression": true,
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeObjectValues": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"requireSemicolons": true,
"validateParameterSeparator": ", ",

"jsDoc": {
"checkAnnotations": "closurecompiler",
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": true,
"checkRedundantAccess": true,
"requireNewlineAfterDescription": true
}
}
109 changes: 109 additions & 0 deletions .jscsrc_hound
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"additionalRules": [
"./node_modules/jscs-angular/src/rules/*.js"
],
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch"
],
"requireOperatorBeforeLineBreak": [
"=",
"+",
"-",
"/",
"*",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
],
"requireCamelCaseOrUpperCaseIdentifiers": {"ignoreProperties": true},
"maximumLineLength": {
"value": 80,
"allExcept": ["comments", "regex"]
},
"validateIndentation": 2,
"validateQuoteMarks": "'",

"disallowMultipleLineStrings": true,
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowMultipleVarDecl": {
"allExcept": ["require"]
},
"disallowKeywordsOnNewLine": ["else"],

"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"return",
"try",
"catch"
],
"requireSpaceBeforeBinaryOperators": [
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
"&=", "|=", "^=", "+=",

"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
"|", "^", "&&", "||", "===", "==", ">=",
"<=", "<", ">", "!=", "!=="
],
"requireSpaceAfterBinaryOperators": true,
"requireSpacesInConditionalExpression": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInForStatement": true,
"requireLineFeedAtFileEnd": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInsideObjectBrackets": "all",
"disallowSpacesInsideArrayBrackets": "all",
"disallowSpacesInsideParentheses": true,

"disallowMultipleLineBreaks": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowKeywords": ["with"],
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInCallExpression": true,
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeObjectValues": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"requireSemicolons": true,
"validateParameterSeparator": ", ",

"jsDoc": {
"checkAnnotations": "closurecompiler",
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": true,
"checkRedundantAccess": true,
"requireNewlineAfterDescription": true
}
}
10 changes: 10 additions & 0 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approve_by_comment: true
approve_regex: '\*\*PR approved\*\*|\*\*approv(e|ing)?( this)? PR\*\*|LGTM|:lgtm:|:lgtm_strong:'
reject_regex: '\*\*reject( this)? PR\*\*|cancel( my)? LGTM|:lgtm_cancel:'
reset_on_push: true
author_approval: ignored
reviewers:
required: 1
members:
- Thatkookooguy
- ortichon
Loading