diff --git a/jshintrc b/jshintrc deleted file mode 100644 index 4c5376d..0000000 --- a/jshintrc +++ /dev/null @@ -1,46 +0,0 @@ - -/* - * Example jshint configuration file for Pebble development. - * - * Check out the full documentation at http://www.jshint.com/docs/options/ - */ -{ - // Declares the existence of the globals available in PebbleKit JS. - "globals": {"console": true, "setTimeout": true, "setInterval": true, "Int8Array": true, "Uint8Array": true, "Uint8ClampedArray": true, "Int16Array": true, "Uint16Array": true, "Int32Array": true, "Uint32Array": true, "Float32Array": true, "Float64Array": true, "Pebble": true, "WebSocket": true, "XMLHttpRequest": true, "navigator": true, "localStorage": true, "require": true, "exports": true, "module": true}, - - // Do not mess with standard JavaScript objects (Array, Date, etc) - "freeze": true, - - // Do not use eval! Keep this warning turned on (ie: false) - "evil": false, - - /* - * The options below are more style/developer dependent. - * Customize to your liking. - */ - - // All variables should be in camelcase - too specific for CloudPebble builds to fail - // "camelcase": true, - - // Do not allow blocks without { } - too specific for CloudPebble builds to fail. - // "curly": true, - - // Prohibits the use of immediate function invocations without wrapping them in parentheses - "immed": true, - - // Don't enforce indentation, because it's not worth failing builds over - // (especially given our somewhat lacklustre support for it) - "indent": false, - - // Do not use a variable before it's defined - "latedef": "nofunc", - - // Spot undefined variables - "undef": "true", - - // Spot unused variables - "unused": "true", - - // Enable ES6 syntax (const, let, arrow functions, etc) - "esversion": 6 -}