diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 23:39:30 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 23:39:30 +0000 |
commit | 004367fc1fd389b169821eb2d73266490f409999 (patch) | |
tree | 1b7e6f13c03326a957bdb78351853f429156b3ae /modern/.eslintrc.js | |
parent | 1b93de84e2bf6a6532bdb03e1ae75e47061a4dca (diff) | |
parent | 702e674ecce7de1a4f4318ef8f30c572264a4560 (diff) | |
download | trackermap-web-004367fc1fd389b169821eb2d73266490f409999.tar.gz trackermap-web-004367fc1fd389b169821eb2d73266490f409999.tar.bz2 trackermap-web-004367fc1fd389b169821eb2d73266490f409999.zip |
Merge remote-tracking branch 'upstream/master' into group-config
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r-- | modern/.eslintrc.js | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js index 4ee202f5..d6380a85 100644 --- a/modern/.eslintrc.js +++ b/modern/.eslintrc.js @@ -1,3 +1,18 @@ module.exports = { - "extends": "airbnb" -};
\ No newline at end of file + extends: 'airbnb', + plugins: [ + 'react', + ], + ignorePatterns: ['serviceWorker.js', 'localization.js', 'switcher.js'], + rules: { + 'max-len': [0], + 'no-shadow': [0], + 'no-return-assign': [0], + 'no-param-reassign': [0], + 'no-prototype-builtins': [0], + 'react/jsx-filename-extension': [1, { extensions: ['.js'] }], + 'react/prop-types': [0], + 'react/jsx-props-no-spreading': [0], + 'jsx-a11y/anchor-is-valid': [0], + }, +}; |