aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..b253a04
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,14 @@
+module.exports = {
+ "extends": "airbnb",
+ "env": {
+ "browser": true,
+ "node": true,
+ "jest": true,
+ },
+ "rules": {
+ "react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
+ "no-underscore-dangle": ["error", { "allow": ["_test"] }],
+ "class-methods-use-this": "off",
+ "no-prototype-builtins": "off",
+ }
+};