diff options
author | Anton Tananaev <anton@traccar.org> | 2024-02-24 16:02:48 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-02-24 16:02:48 -0800 |
commit | 8bd7cba6f5ce56bcccda1459cdd953b3add799d6 (patch) | |
tree | d133b5e57cee061fd49eeddcec35dc3b38254a6d /modern/.eslintrc.js | |
parent | 3106f6ab617b23d6fb2587c3cde2b684abac2605 (diff) | |
download | trackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.tar.gz trackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.tar.bz2 trackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.zip |
Fix lint and issues
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r-- | modern/.eslintrc.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js deleted file mode 100644 index 20e3f4fb..00000000 --- a/modern/.eslintrc.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = { - extends: 'airbnb', - parserOptions: { - ecmaVersion: 2020, - }, - plugins: [ - 'react', - ], - ignorePatterns: ['build/', 'switcher.js', 'theme.js'], - rules: { - 'max-len': [0], - 'no-shadow': [0], - 'no-return-assign': [0], - 'no-param-reassign': [0], - 'no-prototype-builtins': [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/function-component-definition': [1, { - namedComponents: 'arrow-function', - unnamedComponents: 'arrow-function', - }], - 'react/prop-types': [0], - }, -}; |