{
  "extends": [
    "react-app",
    "airbnb",
    "plugin:jsx-a11y/recommended",
    "prettier"
   // "plugin:sonarjs/recommended"
  ],
  "plugins": [
    "jsx-a11y",
    "prettier",
    "sonarjs"
  ],
  "globals": {
    "google": true,
    "config": true
  },
  "rules": {
    "quotes": [
      "error",
      "single",
      {
        "avoidEscape": true,
        "allowTemplateLiterals": false
      }
    ],
    "react/forbid-prop-types": 0,
    "react/jsx-props-no-spreading": 0,
    "react/jsx-no-bind": 0,
    "react/prefer-stateless-function": 0,
    "react/no-unused-class-component-methods": 0,
    "react/require-default-props": ["error", {
      "ignoreFunctionalComponents": true
    }],
    "class-methods-use-this": 0,
    "react/jsx-filename-extension": [
      1,
      {
        "extensions": [
          ".js",
          ".jsx"
        ]
      }
    ],
    "no-plusplus": 0,
    "no-console": [
      "warn",
      {
        "allow": [
          "warn",
          "error"
        ]
      }
    ],
    "semi": 1,
    "prefer-destructuring": [
      "warn",
      {
        "array": true,
        "object": true
      }
    ],
    "prettier/prettier": [
      "error",
      {
        "singleQuote": true,
        "semi": true,
        "tabWidth": 4,
        "printWidth": 120
      }
    ]
  },
  "overrides": [
    {
      "files": [
        "**/*stories.js"
      ],
      "rules": {
        "no-console": "off"
      }
    }
  ]
}