tellform/.jshintrc

54 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2015-06-29 22:51:29 +00:00
{
2016-04-17 02:45:17 +00:00
"loopfunc": true,
2015-06-29 22:51:29 +00:00
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
"browser": true, // Standard browser globals e.g. `window`, `document`.
"esnext": true, // Allow ES.next specific features such as `const` and `let`.
"bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
"camelcase": false, // Permit only camelcase for `var` and `object indexes`.
"curly": false, // Require {} for every new block or scope.
"eqeqeq": true, // Require triple equals i.e. `===`.
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
2016-10-23 04:31:18 +00:00
"latedef": false, // Prohibit variable use before definition.
2016-04-17 02:45:17 +00:00
"newcap": false, // Require capitalization of all constructor functions e.g. `new F()`.
2015-06-29 22:51:29 +00:00
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"quotmark": "single", // Define quotes to string values.
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
"undef": true, // Require all non-global variables be declared before they are used.
"unused": false, // Warn unused variables.
"strict": true, // Require `use strict` pragma in every file.
"trailing": true, // Prohibit trailing whitespaces.
"smarttabs": false, // Suppresses warnings about mixed tabs and spaces
"globals": { // Globals variables.
"jasmine": true,
"angular": true,
2016-04-17 02:45:17 +00:00
"_": true,
"saveAs": true,
"ApplicationConfiguration": true,
"Session": true,
"$": true,
"$window": true,
"io": true,
"jsep": true,
"MobileDetect": true
2015-06-29 22:51:29 +00:00
},
"predef": [ // Extra globals.
"define",
"require",
"exports",
"module",
"describe",
"before",
"beforeEach",
"after",
"afterEach",
"it",
"inject",
2015-12-12 20:08:48 +00:00
"expect",
"_",
"spyOn"
2015-06-29 22:51:29 +00:00
],
"indent": 4, // Specify indentation spacing
"devel": true, // Allow development statements e.g. `console.log();`.
"noempty": true // Prohibit use of empty blocks.
2016-04-17 02:45:17 +00:00
}