2015-08-21 08:36:28 +03:00
|
|
|
{
|
|
|
|
"rules": {
|
2016-05-13 15:33:18 +03:00
|
|
|
"align": false,
|
2016-08-03 11:11:26 +03:00
|
|
|
"arrow-parens": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"ban": false,
|
2016-07-30 19:45:08 +03:00
|
|
|
"chai-prefer-contains-to-index-of": true,
|
2015-10-18 19:11:13 +03:00
|
|
|
"chai-vague-errors": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"class-name": true,
|
|
|
|
"comment-format": false,
|
|
|
|
"curly": true,
|
|
|
|
"eofline": false,
|
2015-09-28 09:17:14 +03:00
|
|
|
"export-name": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"forin": true,
|
2016-05-18 21:07:17 +03:00
|
|
|
"function-name": true,
|
2016-05-10 09:16:16 +03:00
|
|
|
"import-name": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"indent": false,
|
|
|
|
"interface-name": false,
|
2015-10-04 21:49:23 +03:00
|
|
|
"jquery-deferred-must-complete": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"jsdoc-format": false,
|
|
|
|
"label-position": true,
|
|
|
|
"label-undefined": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"linebreak-style": [true, "LF"],
|
|
|
|
"max-file-line-count": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"max-func-body-length": [true, 100, { "ignore-parameters-to-function-regex": "describe" }],
|
|
|
|
"max-line-length": [true, 140],
|
|
|
|
"member-access": false,
|
|
|
|
"member-ordering": false,
|
2015-10-03 10:05:35 +03:00
|
|
|
"missing-jsdoc": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"missing-optional-annotation": true,
|
2015-10-18 18:09:32 +03:00
|
|
|
"mocha-avoid-only": true,
|
2016-05-17 10:17:09 +03:00
|
|
|
"new-parens": true,
|
|
|
|
"no-angle-bracket-type-assertion": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-any": false,
|
|
|
|
"no-arg": true,
|
2015-10-09 20:22:32 +03:00
|
|
|
"no-backbone-get-set-outside-model": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-banned-terms": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-bitwise": true,
|
|
|
|
"no-conditional-assignment": false,
|
|
|
|
"no-consecutive-blank-lines": false,
|
|
|
|
"no-console": [true, "debug", "info", "log", "time", "timeEnd", "trace" ],
|
2015-10-20 23:11:11 +03:00
|
|
|
"no-constant-condition": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-construct": true,
|
|
|
|
"no-constructor-vars": true,
|
2015-10-25 07:52:03 +03:00
|
|
|
"no-control-regex": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-cookies": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-debugger": true,
|
2016-05-17 10:17:09 +03:00
|
|
|
"no-default-export": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-delete-expression": true,
|
|
|
|
"no-disable-auto-sanitization": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-document-domain": true,
|
|
|
|
"no-document-write": true,
|
2015-10-24 07:11:09 +03:00
|
|
|
"no-duplicate-case": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-duplicate-key": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-duplicate-parameter-names": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": true,
|
2015-10-09 17:19:34 +03:00
|
|
|
"no-empty-interfaces": true,
|
2016-05-12 09:11:11 +03:00
|
|
|
"no-empty-line-after-opening-brace": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-eval": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-exec-script": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-for-in": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"no-for-in-array": false,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-function-constructor-with-string-args": true,
|
2015-10-09 23:06:39 +03:00
|
|
|
"no-function-expression": true,
|
2015-10-03 09:19:44 +03:00
|
|
|
"no-http-string": [true, "http://www.example.com/?.*", "http://www.examples.com/?.*"],
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-increment-decrement": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-inferrable-types": false,
|
|
|
|
"no-inner-html": true,
|
|
|
|
"no-internal-module": false,
|
2015-10-24 08:14:34 +03:00
|
|
|
"no-invalid-regexp": true,
|
2016-05-17 10:17:09 +03:00
|
|
|
"no-invalid-this": true,
|
2016-05-17 00:51:13 +03:00
|
|
|
"no-jquery-raw-elements": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"no-mergeable-namespace": false,
|
2015-10-02 08:29:01 +03:00
|
|
|
"no-missing-visibility-modifiers": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-multiline-string": true,
|
2015-10-23 20:30:04 +03:00
|
|
|
"no-multiple-var-decl": true,
|
2016-05-17 10:17:09 +03:00
|
|
|
"no-namespace": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-null-keyword": false,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-octal-literal": true,
|
2016-05-17 10:17:09 +03:00
|
|
|
"no-reference": false,
|
2015-10-24 07:49:53 +03:00
|
|
|
"no-regex-spaces": true,
|
2016-05-31 10:37:40 +03:00
|
|
|
"no-require-imports": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-reserved-keywords": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-shadowed-variable": false,
|
2016-07-29 18:45:52 +03:00
|
|
|
"no-single-line-block-comment": true,
|
2015-10-23 21:59:38 +03:00
|
|
|
"no-sparse-arrays": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-stateless-class": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-string-based-set-immediate": true,
|
|
|
|
"no-string-based-set-interval": true,
|
|
|
|
"no-string-based-set-timeout": true,
|
|
|
|
"no-string-literal": true,
|
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": true,
|
2016-06-15 19:20:59 +03:00
|
|
|
"no-typeof-undefined": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unnecessary-bind": true,
|
2016-06-22 09:06:24 +03:00
|
|
|
"no-unnecessary-field-initialization": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unnecessary-local-variable": true,
|
|
|
|
"no-unnecessary-override": true,
|
|
|
|
"no-unnecessary-semicolons": true,
|
2016-07-11 04:10:49 +03:00
|
|
|
"no-unsupported-browser-code": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unreachable": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"no-unsafe-finally": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-unused-expression": true,
|
2016-06-30 10:27:54 +03:00
|
|
|
"no-unused-imports": false,
|
2016-08-03 11:11:26 +03:00
|
|
|
"no-unused-new": true,
|
2016-02-24 18:47:00 +03:00
|
|
|
"no-unused-variable": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-use-before-declare": true,
|
2016-05-30 23:01:48 +03:00
|
|
|
"no-var-keyword": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-var-requires": true,
|
2016-05-17 01:13:39 +03:00
|
|
|
"no-var-self": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-with-statement": true,
|
|
|
|
"object-literal-sort-keys": false,
|
2016-08-03 11:11:26 +03:00
|
|
|
"object-literal-key-quotes": [false, "as-needed"],
|
2016-05-13 15:33:18 +03:00
|
|
|
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ],
|
2016-05-17 10:17:09 +03:00
|
|
|
"one-variable-per-declaration": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"only-arrow-functions": false,
|
|
|
|
"ordered-imports": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"prefer-array-literal": true,
|
2016-05-30 23:21:56 +03:00
|
|
|
"prefer-const": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"prefer-type-cast": true,
|
|
|
|
"promise-must-complete": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"quotemark": [true, "single"],
|
2016-05-13 15:33:18 +03:00
|
|
|
"radix": false,
|
2016-08-11 11:27:56 +03:00
|
|
|
"react-iframe-missing-sandbox": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"react-no-dangerous-html": true,
|
2016-06-17 10:14:16 +03:00
|
|
|
"react-this-binding-issue": true,
|
2016-08-02 09:35:14 +03:00
|
|
|
"react-unused-props-and-state": true,
|
2016-08-03 11:11:26 +03:00
|
|
|
"restrict-plus-operands": false,
|
2015-08-21 08:36:28 +03:00
|
|
|
"semicolon": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"switch-default": false,
|
2016-06-28 18:24:31 +03:00
|
|
|
"trailing-comma": [true, {"singleline": "never", "multiline": "never"}],
|
2015-08-21 08:36:28 +03:00
|
|
|
"triple-equals": [true, "allow-null-check"],
|
2016-05-13 15:33:18 +03:00
|
|
|
"typedef": [true, "callSignature", "indexSignature", "parameter", "propertySignature", "variableDeclarator", "memberVariableDeclarator"],
|
|
|
|
"typedef-whitespace": false,
|
2016-08-01 17:48:58 +03:00
|
|
|
"underscore-consistent-invocation": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"use-isnan": true,
|
|
|
|
"use-named-parameter": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"use-strict": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"valid-typeof": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"variable-name": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ]
|
2015-08-21 08:36:28 +03:00
|
|
|
}
|
|
|
|
}
|