From 0512964d71a25c172735f2149ef60c3a8b20f683 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 10 Jul 2021 15:24:10 -0700 Subject: Use modified airbnb eslint --- modern/.eslintrc.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modern/.eslintrc.js (limited to 'modern/.eslintrc.js') diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js new file mode 100644 index 0000000..a108980 --- /dev/null +++ b/modern/.eslintrc.js @@ -0,0 +1,18 @@ +module.exports = { + "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] + } +}; -- cgit v1.2.3