{
  "extends": ["react-app", "plugin:jsx-a11y/recommended"],
  "plugins": ["jsx-a11y"],
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module"
  },
  "env": {
    "browser": true,
    "jest": true
  },
  "settings": {
    "import/extensions": [".js", ".jsx"],
  },
  "rules": {
    "semi": ["warn", "always"],
    "comma-dangle": ["warn", "always-multiline"],
    "function-paren-newline": ["error", "consistent"],
    "jsx-a11y/anchor-is-valid": [ "error", {
      "components": [ "Link" ],
      "specialLink": [ "to" ]
    }],
    "jsx-a11y/label-has-for": [ 2, {
      "components": [ "Label" ],
      "required": {
        "every": [ "id" ]
      },
      "allowChildren": false
    }],
    "jsx-a11y/label-has-associated-control": [ 2, {
      "labelComponents": ["label"],
      "labelAttributes": ["htmlFor"],
      "controlComponents": ["input"],
      "depth": 3
    }],
    "max-len": ["warn", { "code": 120 }],
    "object-curly-newline": ["error", { "consistent": true }],
    "object-curly-spacing": [2, "always"],
    "react/jsx-filename-extension": [1, {
      "extensions": [".js", ".jsx"]
    }],
    "react/jsx-one-expression-per-line": "off",
    "react/jsx-indent": [2, 2],
    "quotes": ["warn", "single"],
    "jsx-quotes": ["warn", "prefer-double"],
    "eol-last": ["warn", "always"]
  }
}
