diff options
author | Kurkó Mihály <kurkomisi@users.noreply.github.com> | 2018-01-24 04:51:04 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-24 04:51:04 +0800 |
commit | 05ade19302357eba6a24348f31df140ce0eca326 (patch) | |
tree | 50010a6f94401d7cc1829d36ea99d342d2825d39 /dashboard/assets/.eslintrc | |
parent | ec96216d1696bca2671bb7d043ba6af02c20738d (diff) | |
download | dexon-05ade19302357eba6a24348f31df140ce0eca326.tar dexon-05ade19302357eba6a24348f31df140ce0eca326.tar.gz dexon-05ade19302357eba6a24348f31df140ce0eca326.tar.bz2 dexon-05ade19302357eba6a24348f31df140ce0eca326.tar.lz dexon-05ade19302357eba6a24348f31df140ce0eca326.tar.xz dexon-05ade19302357eba6a24348f31df140ce0eca326.tar.zst dexon-05ade19302357eba6a24348f31df140ce0eca326.zip |
dashboard: CPU, memory, diskIO and traffic on the footer (#15950)
* dashboard: footer, deep state update
* dashboard: resolve asset path
* dashboard: prevent state update on every reconnection
* dashboard: fix linter issue
* dashboard, cmd: minor UI fix, include commit hash
* dashboard: gitCommit renamed to commit
* dashboard: move the geth version to the right, make commit optional
* dashboard: memory, traffic and CPU on footer
* dashboard: fix merge
* dashboard: CPU, diskIO on footer
* dashboard: rename variables, use group declaration
* dashboard: docs
Diffstat (limited to 'dashboard/assets/.eslintrc')
-rw-r--r-- | dashboard/assets/.eslintrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dashboard/assets/.eslintrc b/dashboard/assets/.eslintrc index 67c11dcc0..ab7a3a039 100644 --- a/dashboard/assets/.eslintrc +++ b/dashboard/assets/.eslintrc @@ -40,6 +40,9 @@ 'react/jsx-indent': ['error', 'tab'], 'react/jsx-indent-props': ['error', 'tab'], 'react/prefer-stateless-function': 'off', + 'jsx-quotes': ['error', 'prefer-single'], + 'no-plusplus': 'off', + 'no-console': ['error', { allow: ['error'] }], // Specifies the maximum length of a line. 'max-len': ['warn', 120, 2, { @@ -49,7 +52,7 @@ 'ignoreStrings': true, 'ignoreTemplateLiterals': true, }], - // Enforces spacing between keys and values in object literal properties. + // Enforces consistent spacing between keys and values in object literal properties. 'key-spacing': ['error', {'align': { 'beforeColon': false, 'afterColon': true, |