mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-16 03:45:45 +03:00
5c814b29e1
Closes #896 Squashed commit of the following: commit 776de2ae0a62823b8968cff79a9fa7ba350d7f1c Author: Ildar Kamalov <i.kamalov@adguard.com> Date: Thu Jan 30 11:13:41 2020 +0300 - client: fix normalizeTextarea and blocking button commit 399e6bc3893093632b09247eaf6493521a668c84 Author: Ildar Kamalov <i.kamalov@adguard.com> Date: Wed Jan 29 17:19:50 2020 +0300 + client: handle client block and unblock from the top clients table
55 lines
1.6 KiB
Plaintext
Vendored
55 lines
1.6 KiB
Plaintext
Vendored
{
|
|
"parser": "babel-eslint",
|
|
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"airbnb-base"
|
|
],
|
|
|
|
"env": {
|
|
"jest": true,
|
|
"node": true,
|
|
"browser": true,
|
|
"commonjs": true
|
|
},
|
|
|
|
"settings": {
|
|
"react": {
|
|
"pragma": "React",
|
|
"version": "16.4"
|
|
}
|
|
},
|
|
|
|
"rules": {
|
|
"indent": ["error", 4, {
|
|
"SwitchCase": 1,
|
|
"VariableDeclarator": 1,
|
|
"outerIIFEBody": 1,
|
|
"FunctionDeclaration": {
|
|
"parameters": 1,
|
|
"body": 1
|
|
},
|
|
"FunctionExpression": {
|
|
"parameters": 1,
|
|
"body": 1
|
|
},
|
|
"CallExpression": {
|
|
"arguments": 1
|
|
},
|
|
"ArrayExpression": 1,
|
|
"ObjectExpression": 1,
|
|
"ImportDeclaration": 1,
|
|
"flatTernaryExpressions": false,
|
|
"ignoredNodes": ["JSXElement", "JSXElement > *", "JSXAttribute", "JSXIdentifier", "JSXNamespacedName", "JSXMemberExpression", "JSXSpreadAttribute", "JSXExpressionContainer", "JSXOpeningElement", "JSXClosingElement", "JSXText", "JSXEmptyExpression", "JSXSpreadChild"],
|
|
"ignoreComments": false
|
|
}],
|
|
"class-methods-use-this": "off",
|
|
"no-shadow": "off",
|
|
"camelcase": "off",
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }],
|
|
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
|
|
"import/prefer-default-export": "off",
|
|
"no-alert": "off"
|
|
}
|
|
}
|