Skip to content

Commit

Permalink
Initial commit. Basic support for AFRAME, entity, component
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Shannon committed Sep 24, 2016
0 parents commit 6321d0d
Show file tree
Hide file tree
Showing 20 changed files with 1,555 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# http://editorconfig.org
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[package.json]
indent_style = space
indent_size = 2

[typings.json]
indent_style = space
indent_size = 4
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/src/*.js.map
/src/*.js
dist
_build
/node_modules
.baseDir.ts
.tsconfig*.json
html-report
typings
.grunt
dist
!/src/AFRAME.d.ts
81 changes: 81 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"maxErrors": 10,
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch"
],
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"return",
"try",
"catch"
],
"requireSpaceBeforeBlockStatements": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInNamedFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowMultipleVarDecl": true,
"requireBlocksOnNewline": true,
"disallowEmptyBlocks": true,
"requireSpacesInsideObjectBrackets": "allButNested",
"requireSpacesInsideArrayBrackets": "allButNested",
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,
"requireCommaBeforeLineBreak": true,
"requireOperatorBeforeLineBreak": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterBinaryOperators": true,
"disallowImplicitTypeConversion": [
"binary"
],
"requireCamelCaseOrUpperCaseIdentifiers": true,
"disallowKeywords": [
"with"
],
"disallowMultipleLineStrings": true,
"disallowMultipleLineBreaks": true,
"validateQuoteMarks": {
"mark": "'",
"escape": true
},
"validateIndentation": "\t",
"disallowMixedSpacesAndTabs": "smart",
"disallowTrailingWhitespace": true,
"disallowTrailingComma": true,
"requireKeywordsOnNewLine": [
"else"
],
"requireLineFeedAtFileEnd": true,
"maximumLineLength": 120,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"disallowYodaConditions": true,
"requireSpaceAfterLineComment": true
}
44 changes: 44 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"asi": false,
"bitwise": false,
"boss": false,
"browser": true,
"couch": false,
"curly": true,
"debug": false,
"devel": true,
"dojo": false,
"eqeqeq": true,
"eqnull": true,
"esnext": false,
"evil": false,
"expr": true,
"forin": false,
"funcscope": true,
"globalstrict": false,
"iterator": false,
"jquery": false,
"lastsemic": false,
"latedef": false,
"loopfunc": true,
"mootools": false,
"noarg": true,
"node": false,
"nonew": true,
"nonstandard": false,
"plusplus": false,
"proto": false,
"prototypejs": false,
"rhino": false,
"undef": true,
"unused": true,
"scripturl": true,
"shadow": false,
"strict": false,
"supernew": false,
"validthis": true,
"worker": false,
"wsh": false,
"yui": false,
"maxcomplexity": 10
}
Loading

0 comments on commit 6321d0d

Please sign in to comment.