summaryrefslogtreecommitdiff
path: root/.eslintrc.js
blob: 725c52a67d56d3d071b0dd029f626541038db92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
  },
};