Skip to content
Snippets Groups Projects
.eslintrc 1.33 KiB
Newer Older
        "strict": [2, "never"],
        "no-unused-vars": [1, {"vars": "all", "args": "none", "varsIgnorePattern": "React|PropTypes|Component"}],
        "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-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,
        "react/no-did-update-set-state": 0
        "browser": true,
        "es6": true
    },
    "parser": "babel-eslint",
    "plugins": [
        "react"
    ],
    "extends": ["eslint:recommended", "plugin:react/recommended"]