2020-02-13 14:40:47 +04:00
|
|
|
{
|
2020-02-13 16:30:57 +04:00
|
|
|
"arrow-parens": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-13 16:40:40 +04:00
|
|
|
"arrow-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"after": true,
|
|
|
|
"before": true
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:09:39 +04:00
|
|
|
"brace-style": [
|
|
|
|
"error",
|
|
|
|
"1tbs",
|
|
|
|
{
|
|
|
|
"allowSingleLine": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 23:10:12 +04:00
|
|
|
"camelcase": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"^UNSAFE_"
|
|
|
|
],
|
|
|
|
"ignoreDestructuring": true,
|
|
|
|
"ignoreImports": false,
|
|
|
|
"properties": "always"
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 23:01:45 +04:00
|
|
|
"class-methods-use-this": [
|
|
|
|
"warn"
|
|
|
|
],
|
2020-02-13 15:19:26 +04:00
|
|
|
"comma-dangle": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2020-02-13 22:59:28 +04:00
|
|
|
"comma-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"after": true,
|
|
|
|
"before": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:45:50 +04:00
|
|
|
"eol-last": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-13 16:08:14 +04:00
|
|
|
"eqeqeq": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-13 16:46:47 +04:00
|
|
|
"id-length": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"max": 32,
|
|
|
|
"min": 2,
|
|
|
|
"properties": "always"
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:03:51 +04:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
"tab",
|
|
|
|
{
|
|
|
|
"ArrayExpression": 1,
|
|
|
|
"CallExpression": {
|
|
|
|
"arguments": 1
|
|
|
|
},
|
|
|
|
"FunctionDeclaration": {
|
|
|
|
"body": 1,
|
|
|
|
"parameters": 1
|
|
|
|
},
|
|
|
|
"FunctionExpression": {
|
|
|
|
"body": 1,
|
|
|
|
"parameters": 1
|
|
|
|
},
|
|
|
|
"ImportDeclaration": 1,
|
|
|
|
"MemberExpression": 1,
|
|
|
|
"ObjectExpression": 1,
|
|
|
|
"SwitchCase": 1,
|
|
|
|
"VariableDeclarator": "first",
|
|
|
|
"flatTernaryExpressions": true,
|
|
|
|
"ignoreComments": false,
|
|
|
|
"ignoredNodes": [],
|
|
|
|
"outerIIFEBody": 1
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:47:18 +04:00
|
|
|
"indent-legacy": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 15:57:28 +04:00
|
|
|
"key-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"afterColon": true,
|
|
|
|
"beforeColon": false,
|
|
|
|
"mode": "strict"
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:42:49 +04:00
|
|
|
"keyword-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"after": true,
|
|
|
|
"before": true
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:33:53 +04:00
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
2020-02-13 14:48:01 +04:00
|
|
|
"lines-around-directive": [
|
2020-02-13 23:05:24 +04:00
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 23:12:04 +04:00
|
|
|
"lines-between-class-members": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"exceptAfterSingleLine": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 23:14:21 +04:00
|
|
|
"max-lines": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 23:05:24 +04:00
|
|
|
"max-statements": [
|
2020-02-13 14:48:01 +04:00
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 22:54:18 +04:00
|
|
|
"multiline-comment-style": [
|
|
|
|
"error",
|
|
|
|
"starred-block"
|
|
|
|
],
|
2020-02-13 22:39:15 +04:00
|
|
|
"new-cap": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"capIsNew": true,
|
|
|
|
"newIsCap": true,
|
|
|
|
"properties": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:48:42 +04:00
|
|
|
"newline-after-var": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 14:49:25 +04:00
|
|
|
"newline-before-return": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 15:59:37 +04:00
|
|
|
"no-alert": [
|
2020-02-13 16:03:17 +04:00
|
|
|
"error"
|
2020-02-13 15:59:37 +04:00
|
|
|
],
|
2020-02-13 14:50:22 +04:00
|
|
|
"no-catch-shadow": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 16:01:33 +04:00
|
|
|
"no-console": [
|
2020-02-13 16:20:15 +04:00
|
|
|
"warn"
|
2020-02-13 16:01:33 +04:00
|
|
|
],
|
2020-02-13 16:02:53 +04:00
|
|
|
"no-debugger": [
|
|
|
|
"error"
|
|
|
|
],
|
2020-02-13 16:05:48 +04:00
|
|
|
"no-eval": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowIndirect": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 22:42:08 +04:00
|
|
|
"no-extra-semi": [
|
|
|
|
"error"
|
|
|
|
],
|
2020-02-13 15:52:15 +04:00
|
|
|
"no-multi-spaces": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"exceptions": {},
|
|
|
|
"ignoreEOLComments": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 22:51:40 +04:00
|
|
|
"no-multiple-empty-lines": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"max": 1,
|
|
|
|
"maxBOF": 1,
|
|
|
|
"maxEOF": 1
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:51:02 +04:00
|
|
|
"no-native-reassign": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 14:51:40 +04:00
|
|
|
"no-negated-in-lhs": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 14:52:27 +04:00
|
|
|
"no-spaced-func": [
|
|
|
|
"off"
|
|
|
|
],
|
2020-02-13 14:40:47 +04:00
|
|
|
"no-tabs": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowIndentationTabs": true
|
|
|
|
}
|
2020-02-13 14:53:13 +04:00
|
|
|
],
|
2020-02-13 22:35:03 +04:00
|
|
|
"no-ternary": [
|
|
|
|
"off"
|
2020-02-13 22:49:40 +04:00
|
|
|
],
|
|
|
|
"no-undefined": [
|
|
|
|
"off"
|
2020-02-13 22:35:03 +04:00
|
|
|
],
|
2020-02-13 22:47:32 +04:00
|
|
|
"no-underscore-dangle": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowAfterSuper": false,
|
|
|
|
"allowAfterThis": true,
|
|
|
|
"allowAfterThisConstructor": false,
|
|
|
|
"enforceInMethodNames": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:28:10 +04:00
|
|
|
"no-unused-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"args": "after-used",
|
|
|
|
"caughtErrors": "all",
|
|
|
|
"ignoreRestSiblings": false,
|
|
|
|
"vars": "all"
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:19:27 +04:00
|
|
|
"object-curly-newline": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"consistent": true,
|
|
|
|
"minProperties": 2,
|
|
|
|
"multiline": true
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:31:49 +04:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"arraysInObjects": false,
|
|
|
|
"objectsInObjects": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:15:37 +04:00
|
|
|
"one-var": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2020-02-13 14:53:13 +04:00
|
|
|
"prefer-reflect": [
|
|
|
|
"off"
|
2020-02-13 14:54:01 +04:00
|
|
|
],
|
2020-02-13 15:09:56 +04:00
|
|
|
"quote-props": [
|
|
|
|
"error",
|
|
|
|
"consistent-as-needed",
|
|
|
|
{
|
|
|
|
"keywords": true,
|
|
|
|
"numbers": true,
|
|
|
|
"unnecessary": true
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:12:49 +04:00
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"double",
|
|
|
|
{
|
|
|
|
"allowTemplateLiterals": false,
|
|
|
|
"avoidEscape": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:54:01 +04:00
|
|
|
"require-jsdoc": [
|
|
|
|
"off"
|
2020-02-13 14:54:41 +04:00
|
|
|
],
|
2020-02-13 15:42:46 +04:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"omitLastInOneLineBlock": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:45:58 +04:00
|
|
|
"semi-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"after": true,
|
|
|
|
"before": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:47:33 +04:00
|
|
|
"semi-style": [
|
|
|
|
"error",
|
|
|
|
"last"
|
|
|
|
],
|
2020-02-13 15:25:08 +04:00
|
|
|
"sort-imports": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"ignoreCase": false,
|
2020-02-13 15:38:27 +04:00
|
|
|
"ignoreDeclarationSort": true,
|
2020-02-13 15:25:08 +04:00
|
|
|
"ignoreMemberSort": false,
|
|
|
|
"memberSyntaxSortOrder": [
|
|
|
|
"all",
|
|
|
|
"multiple",
|
|
|
|
"single",
|
|
|
|
"none"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:06:46 +04:00
|
|
|
"sort-keys": [
|
|
|
|
"warn",
|
|
|
|
"asc",
|
|
|
|
{
|
|
|
|
"caseSensitive": true,
|
|
|
|
"minKeys": 2,
|
|
|
|
"natural": true
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 15:49:01 +04:00
|
|
|
"sort-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"ignoreCase": false
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 16:38:31 +04:00
|
|
|
"space-before-blocks": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-13 16:15:11 +04:00
|
|
|
"space-before-function-paren": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"anonymous": "always",
|
|
|
|
"asyncArrow": "always",
|
|
|
|
"named": "never"
|
|
|
|
}
|
|
|
|
],
|
2020-02-13 14:54:41 +04:00
|
|
|
"valid-jsdoc": [
|
|
|
|
"off"
|
2020-02-13 16:11:30 +04:00
|
|
|
],
|
|
|
|
"valid-typeof": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"requireStringLiterals": true
|
|
|
|
}
|
2020-02-13 14:40:47 +04:00
|
|
|
]
|
|
|
|
}
|