@@ -26,5 +26,8 @@
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
- "homepage": "http://threejs.org/"
+ "homepage": "http://threejs.org/",
+ "devDependencies": {
+ "jscs": "^1.13.1"
+ }
}
@@ -0,0 +1,5 @@
+
+jscs "../../src" --fix --preset=mdcs
+jscs "../../examples/js" --fix --preset=mdcs
@@ -0,0 +1,13 @@
+{
+ "preset": "mdcs",
+ "excludeFiles": [
+ "build/**",
+ "docs/**",
+ "editor/**",
+ "examples/**",
+ "node_modules/**",
+ "test/**",
+ "utils/**"
+ ]
+}