{
  "root": true,

  "extends": [
    "airbnb",
    "plugin:react-with-styles/recommended"
  ],

  "plugins": [
    "react-with-styles"
  ],

  "env": {
    "browser": true,
    "node": true
  },

  "rules": {
    "react/forbid-foreign-prop-types": 2, // For babel-plugin-transform-react-remove-prop-types

    "jsx-a11y/click-events-have-key-events": 1, // TODO: enable

    "react/no-did-mount-set-state": 0, // necessary for server-rendering

    "react-with-styles/no-unused-styles": 2,

    "no-restricted-imports": 0, // TODO: enable with full RTL support

    "react/jsx-one-expression-per-line": 1, // TODO: enable once fixed upstream
  },

  "settings": {
    "propWrapperFunctions": ["forbidExtraProps", "exact", "Object.freeze"],
  }
}
