aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-22 16:35:26 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-22 16:35:26 -0700
commitada71496b699fe487680b0f2233bf3d5afb206ff (patch)
treebbef789f99a184f615f16e7fb3858a9049db2793 /modern/.eslintrc.js
parentd447490a186a473dc398a9214fd37c5180fdcf7d (diff)
downloadtrackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.tar.gz
trackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.tar.bz2
trackermap-web-ada71496b699fe487680b0f2233bf3d5afb206ff.zip
Update lint
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index f380f4c6..6cef63d8 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -15,7 +15,9 @@ module.exports = {
'no-prototype-builtins': [0],
'no-nested-ternary': [0],
'operator-linebreak': [0],
+ 'import/no-unresolved': [0],
'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
+ 'react/function-component-definition': [1, { namedComponents: 'arrow-function', unnamedComponents: 'arrow-function' }],
'react/prop-types': [0],
'react/jsx-props-no-spreading': [0],
'jsx-a11y/anchor-is-valid': [0],