Skip to content
Snippets Groups Projects
.eslintrc 1.2 KiB
Newer Older
  • Learn to ignore specific revisions
  •         "strict": [2, "never"],
    
            "no-var": 1,
    
            "no-unused-vars": [1, {"vars": "all", "args": "none"}],
    
            "no-empty": [1, { "allowEmptyCatch": true }],
            "curly": [1, "all"],
    
            "import/no-commonjs": 1,
    
            "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/use-flow-type": 1,
    
            "no-color-literals": 1,
            "prefer-const": [1, {"destructuring": "all"}],
    
            "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$"]
        }