2015-08-21 08:36:28 +03:00
|
|
|
{
|
2016-12-12 19:31:50 +03:00
|
|
|
"rulesDirectory": [
|
|
|
|
"dist/src"
|
|
|
|
],
|
2015-08-21 08:36:28 +03:00
|
|
|
"rules": {
|
2017-05-12 09:19:49 +03:00
|
|
|
"array-type": [true, "array"],
|
2017-02-17 20:55:59 +03:00
|
|
|
"arrow-return-shorthand": false,
|
|
|
|
"await-promise": false,
|
2017-01-18 14:56:57 +03:00
|
|
|
"adjacent-overload-signatures": false,
|
|
|
|
"align": [
|
|
|
|
false
|
|
|
|
],
|
2016-08-03 11:11:26 +03:00
|
|
|
"arrow-parens": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"ban": false,
|
2017-01-18 14:56:57 +03:00
|
|
|
"callable-types": true,
|
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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"comment-format": [
|
|
|
|
false
|
|
|
|
],
|
|
|
|
"completed-docs": [
|
|
|
|
false
|
|
|
|
],
|
2016-05-13 15:33:18 +03:00
|
|
|
"curly": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"cyclomatic-complexity": [
|
|
|
|
false
|
|
|
|
],
|
2016-05-13 15:33:18 +03:00
|
|
|
"eofline": false,
|
2015-09-28 09:17:14 +03:00
|
|
|
"export-name": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"file-header": [
|
|
|
|
false
|
|
|
|
],
|
2016-05-13 15:33:18 +03:00
|
|
|
"forin": true,
|
2016-05-18 21:07:17 +03:00
|
|
|
"function-name": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"import-blacklist": false,
|
2016-05-10 09:16:16 +03:00
|
|
|
"import-name": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"import-spacing": true,
|
2016-10-27 07:48:11 +03:00
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
"spaces"
|
|
|
|
],
|
2017-01-18 14:56:57 +03:00
|
|
|
"insecure-random": true,
|
|
|
|
"interface-name": false,
|
|
|
|
"interface-over-type-literal": 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,
|
2016-08-25 15:06:57 +03:00
|
|
|
"linebreak-style": [
|
|
|
|
true,
|
|
|
|
"LF"
|
|
|
|
],
|
2017-01-18 14:56:57 +03:00
|
|
|
"max-classes-per-file": [
|
|
|
|
false
|
|
|
|
],
|
|
|
|
"max-file-line-count": [
|
|
|
|
false
|
|
|
|
],
|
2016-08-25 15:06:57 +03:00
|
|
|
"max-func-body-length": [
|
|
|
|
true,
|
|
|
|
100,
|
|
|
|
{
|
|
|
|
"ignore-parameters-to-function-regex": "describe"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-line-length": [
|
|
|
|
true,
|
|
|
|
140
|
|
|
|
],
|
2016-09-16 21:39:10 +03:00
|
|
|
"member-access": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"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-08-13 11:29:17 +03:00
|
|
|
"mocha-no-side-effect-code": true,
|
2016-08-15 08:25:20 +03:00
|
|
|
"mocha-unneeded-done": 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,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-boolean-literal-compare": false,
|
2016-09-16 21:44:19 +03:00
|
|
|
"no-conditional-assignment": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-consecutive-blank-lines": [
|
|
|
|
true
|
|
|
|
],
|
2016-08-25 15:06:57 +03:00
|
|
|
"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,
|
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,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-duplicate-parameter-names": true,
|
2017-05-11 21:13:34 +03:00
|
|
|
"no-duplicate-super": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-duplicate-variable": true,
|
|
|
|
"no-empty": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-empty-interface": 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,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-floating-promises": false,
|
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,
|
2016-08-25 15:06:57 +03:00
|
|
|
"no-http-string": [
|
|
|
|
true,
|
|
|
|
"http://www.example.com/?.*",
|
|
|
|
"http://www.examples.com/?.*"
|
|
|
|
],
|
2017-05-11 21:15:07 +03:00
|
|
|
"no-import-side-effect": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-increment-decrement": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-inferrable-types": false,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-inferred-empty-object-type": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-inner-html": true,
|
|
|
|
"no-internal-module": false,
|
2015-10-24 08:14:34 +03:00
|
|
|
"no-invalid-regexp": true,
|
2017-05-11 21:18:22 +03:00
|
|
|
"no-invalid-template-strings": 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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-magic-numbers": false,
|
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,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-misused-new": true,
|
2017-05-11 21:20:41 +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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-parameter-properties": false,
|
2016-09-30 09:46:44 +03:00
|
|
|
"no-reference": true,
|
2017-05-11 21:21:43 +03:00
|
|
|
"no-reference-import": true,
|
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,
|
2017-05-11 21:07:13 +03:00
|
|
|
"no-shadowed-variable": true,
|
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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-string-throw": true,
|
2016-08-28 17:42:04 +03:00
|
|
|
"no-suspicious-comment": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-switch-case-fall-through": true,
|
|
|
|
"no-trailing-whitespace": true,
|
2016-06-15 19:20:59 +03:00
|
|
|
"no-typeof-undefined": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-unbound-method": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unnecessary-bind": true,
|
2017-05-11 21:22:55 +03:00
|
|
|
"no-unnecessary-callback-wrapper": true,
|
2016-06-22 09:06:24 +03:00
|
|
|
"no-unnecessary-field-initialization": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-unnecessary-initializer": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unnecessary-local-variable": true,
|
|
|
|
"no-unnecessary-override": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-unnecessary-qualifier": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-unnecessary-semicolons": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"no-unsafe-any": false,
|
2016-08-03 11:11:26 +03:00
|
|
|
"no-unsafe-finally": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-unsupported-browser-code": false,
|
2015-08-21 08:36:28 +03:00
|
|
|
"no-unused-expression": true,
|
|
|
|
"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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"no-void-expression": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"no-with-statement": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"non-literal-require": true,
|
2016-08-25 15:06:57 +03:00
|
|
|
"object-literal-key-quotes": [
|
2017-05-11 21:25:59 +03:00
|
|
|
true,
|
2016-08-25 15:06:57 +03:00
|
|
|
"as-needed"
|
|
|
|
],
|
2017-01-18 14:56:57 +03:00
|
|
|
"object-literal-shorthand": false,
|
|
|
|
"object-literal-sort-keys": false,
|
2016-08-25 15:06:57 +03:00
|
|
|
"one-line": [
|
|
|
|
true,
|
|
|
|
"check-open-brace",
|
|
|
|
"check-catch",
|
|
|
|
"check-else",
|
|
|
|
"check-whitespace"
|
|
|
|
],
|
2017-05-12 09:28:10 +03:00
|
|
|
"one-variable-per-declaration": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
|
2017-01-18 14:56:57 +03:00
|
|
|
"ordered-imports": [
|
|
|
|
false
|
|
|
|
],
|
|
|
|
"possible-timing-attack": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"prefer-array-literal": true,
|
2016-05-30 23:21:56 +03:00
|
|
|
"prefer-const": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"prefer-for-of": false,
|
2017-05-12 09:24:41 +03:00
|
|
|
"prefer-function-over-method": false,
|
|
|
|
"prefer-method-signature": true,
|
2017-05-12 09:28:10 +03:00
|
|
|
"prefer-template": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"prefer-type-cast": true,
|
2017-05-12 09:24:41 +03:00
|
|
|
"strict-type-predicates": false,
|
2017-01-18 14:56:57 +03:00
|
|
|
"promise-function-async": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"promise-must-complete": true,
|
2016-08-25 15:06:57 +03:00
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single"
|
|
|
|
],
|
2016-05-13 15:33:18 +03:00
|
|
|
"radix": false,
|
2017-01-18 14:56:57 +03:00
|
|
|
"react-a11y-anchors": true,
|
|
|
|
"react-a11y-aria-unsupported-elements": true,
|
|
|
|
"react-a11y-event-has-role": true,
|
|
|
|
"react-a11y-image-button-has-alt": true,
|
|
|
|
"react-a11y-img-has-alt": true,
|
|
|
|
"react-a11y-lang": true,
|
|
|
|
"react-a11y-meta": true,
|
|
|
|
"react-a11y-props": true,
|
|
|
|
"react-a11y-proptypes": true,
|
|
|
|
"react-a11y-role": true,
|
|
|
|
"react-a11y-role-has-required-aria-props": true,
|
|
|
|
"react-a11y-role-supports-aria-props": true,
|
|
|
|
"react-a11y-tabindex-no-positive": true,
|
2016-08-24 10:05:45 +03:00
|
|
|
"react-a11y-titles": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"react-anchor-blank-noopener": true,
|
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-10-23 10:15:29 +03:00
|
|
|
"react-tsx-curly-spacing": 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,
|
2017-01-18 14:56:57 +03:00
|
|
|
"semicolon": [
|
|
|
|
true,
|
|
|
|
"ignore-bound-class-methods"
|
|
|
|
],
|
|
|
|
"space-before-function-paren": false,
|
|
|
|
"strict-boolean-expressions": false,
|
2016-05-13 15:33:18 +03:00
|
|
|
"switch-default": false,
|
2016-08-25 15:06:57 +03:00
|
|
|
"trailing-comma": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"singleline": "never",
|
|
|
|
"multiline": "never"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"triple-equals": [
|
|
|
|
true,
|
|
|
|
"allow-null-check"
|
|
|
|
],
|
|
|
|
"typedef": [
|
|
|
|
true,
|
|
|
|
"parameter",
|
2016-11-23 16:21:23 +03:00
|
|
|
"property-declaration",
|
|
|
|
"member-variable-declaration"
|
2016-08-25 15:06:57 +03:00
|
|
|
],
|
2017-01-18 14:56:57 +03:00
|
|
|
"typedef-whitespace": [
|
|
|
|
false
|
|
|
|
],
|
|
|
|
"typeof-compare": true,
|
2016-08-01 17:48:58 +03:00
|
|
|
"underscore-consistent-invocation": true,
|
2017-01-18 14:56:57 +03:00
|
|
|
"unified-signatures": true,
|
2016-05-13 15:33:18 +03:00
|
|
|
"use-isnan": true,
|
|
|
|
"use-named-parameter": true,
|
|
|
|
"valid-typeof": true,
|
2015-08-21 08:36:28 +03:00
|
|
|
"variable-name": true,
|
2016-08-25 15:06:57 +03:00
|
|
|
"whitespace": [
|
|
|
|
true,
|
|
|
|
"check-branch",
|
|
|
|
"check-decl",
|
|
|
|
"check-operator",
|
|
|
|
"check-separator",
|
|
|
|
"check-type"
|
2017-03-16 15:16:16 +03:00
|
|
|
],
|
|
|
|
"no-useless-files": true
|
2015-08-21 08:36:28 +03:00
|
|
|
}
|
2016-10-27 07:48:11 +03:00
|
|
|
}
|