From fe303999bb3d1067783ea96cef71ea2a4a69a2df Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 15 Dec 2018 23:21:02 +0100 Subject: embedding applets --- .eslintrc.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .eslintrc.js (limited to '.eslintrc.js') 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 + }, +}; -- cgit v1.2.3-70-g09d2