aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/assets/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/assets/.eslintrc')
-rw-r--r--dashboard/assets/.eslintrc5
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,