Skip to content
Snippets Groups Projects
.eslintrc 1.69 KiB
Newer Older
  • Learn to ignore specific revisions
  •         "strict": [2, "never"],
    
            "no-unused-vars": [1, {"vars": "all", "args": "none"}],
    
            "import/no-commonjs": 1,
    
            "quotes": 0,
            "camelcase": 0,
            "eqeqeq": 0,
            "key-spacing": 0,
            "no-underscore-dangle": 0,
            "curly": 0,
            "no-use-before-define": 0,
            "comma-dangle": 0,
            "space-infix-ops": 0,
            "no-shadow": 0,
            "no-empty": 0,
            "no-extra-bind": 0,
            "eol-last": 0,
            "consistent-return": 0,
            "yoda": 0,
            "no-multi-spaces": 0,
            "no-mixed-spaces-and-tabs": 0,
            "no-alert": 0,
    
            "dot-notation": 0,
            "space-unary-ops": 0,
            "semi": 0,
    
            "global-strict": 0,
    
            "no-fallthrough": 0,
    
            "no-useless-escape": 0,
    
            "no-case-declarations": 0,
    
            "react/no-is-mounted": 2,
    
            "react/prefer-es6-class": 2,
    
            "react/display-name": 1,
    
            "react/prop-types": 0,
    
            "react/no-did-mount-set-state": 0,
    
    Tom Robinson's avatar
    Tom Robinson committed
            "react/no-did-update-set-state": 0,
    
    Tom Robinson's avatar
    Tom Robinson committed
            "react/no-find-dom-node": 0,
    
            "flowtype/define-flow-type": 1,
            "flowtype/use-flow-type": 1
    
    Atte Keinänen's avatar
    Atte Keinänen committed
            "pending": false
    
    Tom Robinson's avatar
    Tom Robinson committed
            "es6": true,
    
            "commonjs": true,
            "jest": true
    
        },
        "parser": "babel-eslint",
        "plugins": [
    
    Tom Robinson's avatar
    Tom Robinson committed
            "react",
    
        "extends": [
          "eslint:recommended",
          "plugin:react/recommended",
          "plugin:import/errors",
          "plugin:import/warnings"
        ],
        "settings": {
          "import/resolver": "webpack",
          "import/ignore": ["\\.css$"]
        }