module.exports = {
  env: {
    browser: true,
    es6: true,
  },
  parser: "babel-eslint",
  extends: [
    'airbnb',
  ],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly',
  },
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
      experimentalObjectRestSpread: true
    },
    ecmaVersion: 2018,
    sourceType: 'module',

  },
  plugins: [
    'react',
  ],
  rules: {
    "linebreak-style": 0,
    "semi": 0,
    "react/prop-types": 0,
    "react/forbid-prop-types": 0,
    "arrow-parens": 0,
    "react/destructuring-assignment": 0,
    "prefer-destructuring": ["error", { "object": false, "array": false }],
    "max-len": [1, 220, 4],
    "react/jsx-props-no-spreading": 0,
    "no-underscore-dangle": 0,
    "no-unused-expressions": ["error", {
      "allowShortCircuit": false,
      "allowTernary": false,
      "allowTaggedTemplates": false,
    }],
  },
};
