-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tony Jin
committed
Apr 6, 2017
0 parents
commit 448c477
Showing
816 changed files
with
212,275 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Configuration for Babel transpilation | ||
{ | ||
"presets": [ | ||
["es2015", { "modules": false }], | ||
"es2016", | ||
"react" | ||
], | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-object-rest-spread", | ||
"transform-decorators-legacy" | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": [ | ||
["istanbul", { | ||
"exclude": [ | ||
"**/*-test.js", | ||
"build/**", | ||
"src/lib/polyfill.js", | ||
"src/lib/browser.js", | ||
"src/lib/viewers/box3d/model3d/Model3dAnimationClipsPullup.js", | ||
"src/lib/viewers/box3d/model3d/model3dSettingsPullup.js", | ||
"src/lib/viewers/box3d/model3d/Model3dVrControls.js", | ||
"src/lib/viewers/box3d/**/SceneEntities.js", | ||
"src/lib/viewers/box3d/**Constants.js", | ||
"src/lib/viewers/doc/doc-preloader.js" | ||
] | ||
}], | ||
["babel-plugin-transform-require-ignore", { "extensions": [".scss"] }] | ||
] | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"rules": { | ||
"body-leading-blank": [ | ||
2, | ||
"always" | ||
], | ||
"body-max-length": [ | ||
0 | ||
], | ||
"body-min-length": [ | ||
0 | ||
], | ||
"body-tense": [ | ||
0, | ||
"never" | ||
], | ||
"footer-leading-blank": [ | ||
0, | ||
"never" | ||
], | ||
"header-max-length": [ | ||
2, | ||
"always", | ||
72 | ||
], | ||
"header-min-length": [ | ||
2, | ||
"always", | ||
3 | ||
], | ||
"subject-tense": [ | ||
0 | ||
], | ||
"subject-max-length": [ | ||
0 | ||
], | ||
"subject-min-length": [ | ||
0 | ||
], | ||
"type-case": [ | ||
0, | ||
"never" | ||
], | ||
"type-empty": [ | ||
2, | ||
"never" | ||
], | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"Fix", | ||
"New", | ||
"Breaking", | ||
"Docs", | ||
"Build", | ||
"Upgrade", | ||
"Chore", | ||
"Update" | ||
] | ||
], | ||
"type-max-length": [ | ||
0 | ||
], | ||
"type-min-length": [ | ||
0 | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src/third-party/* | ||
dist/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"env": { | ||
"es6": true, | ||
"browser": true, | ||
"mocha": true, | ||
"commonjs": true | ||
}, | ||
"globals": { | ||
"after": false, | ||
"afterEach": false, | ||
"before": false, | ||
"beforeEach": false, | ||
"describe": false, | ||
"expect": false, | ||
"it": false, | ||
"sinon": false, | ||
"assert": false, | ||
"fixture": false, | ||
"__": false, | ||
"PDFJS": false, | ||
"Box": false, | ||
"DocumentTouch": false, | ||
"ActiveXObject": false | ||
}, | ||
"rules": { | ||
"comma-dangle": [2, "never"], | ||
"indent": [2, 4, {"SwitchCase": 1}], | ||
"import/imports-first": [0], | ||
"jsx-quotes": [2, "prefer-single"], | ||
"max-len": [0, 120], | ||
"react/jsx-indent-props": [2, 4], | ||
"react/jsx-indent": [2, 4], | ||
"no-underscore-dangle": [0], | ||
"react/jsx-filename-extension": [0], | ||
"arrow-body-style": [0], | ||
"no-mixed-operators": ["error", {"allowSamePrecedence": true}], | ||
"class-methods-use-this": [0], | ||
"arrow-parens": ["error", "always"], | ||
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }], | ||
"import/no-extraneous-dependencies": [0], | ||
"import/no-webpack-loader-syntax": [0] | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"webpack": { | ||
"config-index": 0 | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
node_modules | ||
*.swp | ||
*.iml | ||
.idea | ||
build/rsync.json | ||
.DS_Store | ||
npm-debug.log | ||
reports | ||
dist | ||
src/i18n/json | ||
jsconfig.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"plugins": ["stylelint-order"], | ||
"rules": { | ||
"indentation": 4, | ||
"at-rule-no-vendor-prefix": true, | ||
"media-feature-name-no-vendor-prefix": true, | ||
"property-no-vendor-prefix": true, | ||
"selector-no-vendor-prefix": true, | ||
"value-no-vendor-prefix": true, | ||
"number-leading-zero": never, | ||
"declaration-no-important": true, | ||
"order/declaration-block-properties-alphabetical-order": [true, { "severity": "warning" }] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- "6" | ||
script: yarn run ci | ||
cache: yarn |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"typescript.validate.enable": false, | ||
"typescript.format.enable": false, | ||
"flow.useNPMPackagedFlow": true, | ||
"flow.enabled": false, | ||
"javascript.validate.enable": false | ||
} |
Oops, something went wrong.