aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js18
1 files changed, 18 insertions, 0 deletions
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]
+ }
+};