summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-15 23:21:02 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-15 23:21:02 +0100
commitfe303999bb3d1067783ea96cef71ea2a4a69a2df (patch)
treec76af2b4ed724984953ac4b91f9452ba63d13370 /.eslintrc.js
parenta53a598461a25e8bf1d0bd3e63c47642e3213aef (diff)
embedding applets
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 00000000..725c52a6
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,48 @@
+module.exports = {
+ "extends": [
+ "airbnb-base",
+ "plugin:react/recommended"
+ ],
+ "plugins": [
+ "import",
+ "react",
+ "class-property"
+ ],
+ "parser": "babel-eslint",
+ "parserOptions": {
+ "ecmaFeatures": {
+ "jsx": true,
+ "classes": true,
+ }
+ },
+ "rules": {
+ "react/prop-types": 1,
+ "react/jsx-uses-vars": 2,
+ "no-underscore-dangle": 0,
+ "comma-dangle": ["error", "only-multiline"],
+ "semi": ["error", "never"],
+ "prefer-const": "off",
+ "no-plusplus": "off",
+ "no-param-reassign": 0,
+ "no-return-assign": 0,
+ "global-require": 0,
+ "arrow-parens": 0,
+ "prefer-template": 0,
+ "no-nested-ternary": 0,
+ "no-mixed-operators": 0,
+ "no-confusing-arrow": 0,
+ "prefer-arrow-callback": 0,
+ "prefer-arrow-callback": 0,
+ "func-names": 0,
+ "object-curly-newline": 0,
+ "class-methods-use-this": 0,
+ },
+ "env": {
+ "browser": true,
+ "mocha": true,
+ },
+ "globals" : {
+ "assert": false,
+ "web3": false
+ },
+};