aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-06-25 22:32:58 +0200
committerNoah Loomans <noahloomans@gmail.com>2018-06-25 22:32:58 +0200
commit6b4f80dca85714f9e3d313b400b49d55f9af9f0d (patch)
treeeea48020d48d48581d7ccaefd5f4b1eacffc82f8 /.eslintrc
parent9a2a7e1b55a4ae1f7b822217337d00020ef6349e (diff)
Improve beginner friendlyness of dotfiles
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..99f5f91
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,16 @@
+{
+ "extends": "airbnb",
+ "parser": "babel-eslint",
+ "env": {
+ "browser": true,
+ "node": true,
+ "jest": true
+ },
+ "rules": {
+ "react/jsx-filename-extension": "off",
+ "no-underscore-dangle": ["error", { "allow": ["_test"] }],
+ "no-prototype-builtins": "off",
+ "react/forbid-prop-types": "off",
+ "react/prefer-stateless-function": "off"
+ }
+}