aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-28 11:11:11 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-28 11:11:11 -0700
commitb0ff8b904d1f48087da4c7c86849829e899a6281 (patch)
tree845e2e929006a9fbe75e199ebbf8f7e87e4ebdd5 /modern/.eslintrc.js
parent1f9806dc45dbeea3904a679bf38b92ca20a92d4a (diff)
downloadtrackermap-web-b0ff8b904d1f48087da4c7c86849829e899a6281.tar.gz
trackermap-web-b0ff8b904d1f48087da4c7c86849829e899a6281.tar.bz2
trackermap-web-b0ff8b904d1f48087da4c7c86849829e899a6281.zip
Multidevice summary report
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index 6cef63d8..df0dcd15 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -16,6 +16,12 @@ module.exports = {
'no-nested-ternary': [0],
'operator-linebreak': [0],
'import/no-unresolved': [0],
+ 'object-curly-newline': [1, {
+ ObjectExpression: { minProperties: 8, multiline: true, consistent: true },
+ ObjectPattern: { minProperties: 8, multiline: true, consistent: true },
+ ImportDeclaration: { minProperties: 4, multiline: true, consistent: true },
+ ExportDeclaration: { minProperties: 4, multiline: true, consistent: true },
+ }],
'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
'react/function-component-definition': [1, { namedComponents: 'arrow-function', unnamedComponents: 'arrow-function' }],
'react/prop-types': [0],