| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,43 +0,0 @@ |
| 1 |
- |
|
| 2 |
-/* |
|
| 3 |
- * Example jshint configuration file for Pebble development. |
|
| 4 |
- * |
|
| 5 |
- * Check out the full documentation at http://www.jshint.com/docs/options/ |
|
| 6 |
- */ |
|
| 7 |
-{
|
|
| 8 |
- // Declares the existence of the globals available in PebbleKit JS. |
|
| 9 |
- "globals": {"setInterval": true, "Float64Array": true, "Pebble": true, "Uint32Array": true, "WebSocket": true, "module": true, "exports": true, "require": true, "console": true, "XMLHttpRequest": true, "Int32Array": true, "setTimeout": true, "navigator": true, "Uint8Array": true, "Uint8ClampedArray": true, "Uint16Array": true, "Int8Array": true, "Int16Array": true, "localStorage": true, "Float32Array": true},
|
|
| 10 |
- |
|
| 11 |
- // Do not mess with standard JavaScript objects (Array, Date, etc) |
|
| 12 |
- "freeze": true, |
|
| 13 |
- |
|
| 14 |
- // Do not use eval! Keep this warning turned on (ie: false) |
|
| 15 |
- "evil": false, |
|
| 16 |
- |
|
| 17 |
- /* |
|
| 18 |
- * The options below are more style/developer dependent. |
|
| 19 |
- * Customize to your liking. |
|
| 20 |
- */ |
|
| 21 |
- |
|
| 22 |
- // All variables should be in camelcase - too specific for CloudPebble builds to fail |
|
| 23 |
- // "camelcase": true, |
|
| 24 |
- |
|
| 25 |
- // Do not allow blocks without { } - too specific for CloudPebble builds to fail.
|
|
| 26 |
- // "curly": true, |
|
| 27 |
- |
|
| 28 |
- // Prohibits the use of immediate function invocations without wrapping them in parentheses |
|
| 29 |
- "immed": true, |
|
| 30 |
- |
|
| 31 |
- // Don't enforce indentation, because it's not worth failing builds over |
|
| 32 |
- // (especially given our somewhat lacklustre support for it) |
|
| 33 |
- "indent": false, |
|
| 34 |
- |
|
| 35 |
- // Do not use a variable before it's defined |
|
| 36 |
- "latedef": "nofunc", |
|
| 37 |
- |
|
| 38 |
- // Spot undefined variables |
|
| 39 |
- "undef": "true", |
|
| 40 |
- |
|
| 41 |
- // Spot unused variables |
|
| 42 |
- "unused": "true" |
|
| 43 |
-} |
| ... | ... |
@@ -6,7 +6,7 @@ |
| 6 | 6 |
*/ |
| 7 | 7 |
{
|
| 8 | 8 |
// Declares the existence of the globals available in PebbleKit JS. |
| 9 |
- "globals": {"console": true, "Int8Array": true, "Pebble": true, "setTimeout": true, "localStorage": true, "Uint8Array": true, "require": true, "Uint8ClampedArray": true, "Int32Array": true, "exports": true, "Uint16Array": true, "module": true, "Float64Array": true, "Uint32Array": true, "XMLHttpRequest": true, "Int16Array": true, "setInterval": true, "WebSocket": true, "Float32Array": true, "navigator": true},
|
|
| 9 |
+ "globals": {"setInterval": true, "Float64Array": true, "Pebble": true, "Uint32Array": true, "WebSocket": true, "module": true, "exports": true, "require": true, "console": true, "XMLHttpRequest": true, "Int32Array": true, "setTimeout": true, "navigator": true, "Uint8Array": true, "Uint8ClampedArray": true, "Uint16Array": true, "Int8Array": true, "Int16Array": true, "localStorage": true, "Float32Array": true},
|
|
| 10 | 10 |
|
| 11 | 11 |
// Do not mess with standard JavaScript objects (Array, Date, etc) |
| 12 | 12 |
"freeze": true, |
| ... | ... |
@@ -6,7 +6,7 @@ |
| 6 | 6 |
*/ |
| 7 | 7 |
{
|
| 8 | 8 |
// Declares the existence of the globals available in PebbleKit JS. |
| 9 |
- "globals": {"Float64Array": true, "navigator": true, "Uint32Array": true, "console": true, "localStorage": true, "Pebble": true, "require": true, "Float32Array": true, "Int32Array": true, "XMLHttpRequest": true, "exports": true, "WebSocket": true, "Int8Array": true, "setInterval": true, "setTimeout": true, "module": true, "Uint8Array": true, "Int16Array": true, "Uint16Array": true, "Uint8ClampedArray": true},
|
|
| 9 |
+ "globals": {"console": true, "Int8Array": true, "Pebble": true, "setTimeout": true, "localStorage": true, "Uint8Array": true, "require": true, "Uint8ClampedArray": true, "Int32Array": true, "exports": true, "Uint16Array": true, "module": true, "Float64Array": true, "Uint32Array": true, "XMLHttpRequest": true, "Int16Array": true, "setInterval": true, "WebSocket": true, "Float32Array": true, "navigator": true},
|
|
| 10 | 10 |
|
| 11 | 11 |
// Do not mess with standard JavaScript objects (Array, Date, etc) |
| 12 | 12 |
"freeze": true, |
| 1 | 1 |
new file mode 100755 |
| ... | ... |
@@ -0,0 +1,43 @@ |
| 1 |
+ |
|
| 2 |
+/* |
|
| 3 |
+ * Example jshint configuration file for Pebble development. |
|
| 4 |
+ * |
|
| 5 |
+ * Check out the full documentation at http://www.jshint.com/docs/options/ |
|
| 6 |
+ */ |
|
| 7 |
+{
|
|
| 8 |
+ // Declares the existence of the globals available in PebbleKit JS. |
|
| 9 |
+ "globals": {"Float64Array": true, "navigator": true, "Uint32Array": true, "console": true, "localStorage": true, "Pebble": true, "require": true, "Float32Array": true, "Int32Array": true, "XMLHttpRequest": true, "exports": true, "WebSocket": true, "Int8Array": true, "setInterval": true, "setTimeout": true, "module": true, "Uint8Array": true, "Int16Array": true, "Uint16Array": true, "Uint8ClampedArray": true},
|
|
| 10 |
+ |
|
| 11 |
+ // Do not mess with standard JavaScript objects (Array, Date, etc) |
|
| 12 |
+ "freeze": true, |
|
| 13 |
+ |
|
| 14 |
+ // Do not use eval! Keep this warning turned on (ie: false) |
|
| 15 |
+ "evil": false, |
|
| 16 |
+ |
|
| 17 |
+ /* |
|
| 18 |
+ * The options below are more style/developer dependent. |
|
| 19 |
+ * Customize to your liking. |
|
| 20 |
+ */ |
|
| 21 |
+ |
|
| 22 |
+ // All variables should be in camelcase - too specific for CloudPebble builds to fail |
|
| 23 |
+ // "camelcase": true, |
|
| 24 |
+ |
|
| 25 |
+ // Do not allow blocks without { } - too specific for CloudPebble builds to fail.
|
|
| 26 |
+ // "curly": true, |
|
| 27 |
+ |
|
| 28 |
+ // Prohibits the use of immediate function invocations without wrapping them in parentheses |
|
| 29 |
+ "immed": true, |
|
| 30 |
+ |
|
| 31 |
+ // Don't enforce indentation, because it's not worth failing builds over |
|
| 32 |
+ // (especially given our somewhat lacklustre support for it) |
|
| 33 |
+ "indent": false, |
|
| 34 |
+ |
|
| 35 |
+ // Do not use a variable before it's defined |
|
| 36 |
+ "latedef": "nofunc", |
|
| 37 |
+ |
|
| 38 |
+ // Spot undefined variables |
|
| 39 |
+ "undef": "true", |
|
| 40 |
+ |
|
| 41 |
+ // Spot unused variables |
|
| 42 |
+ "unused": "true" |
|
| 43 |
+} |