module.exports = {
    env: {
      es6: true,
    },
    extends: [
      'airbnb',
      'prettier',
      'prettier/react',
    ],
    globals: {
      Atomics: 'readonly',
      SharedArrayBuffer: 'readonly',
    },
    parser: 'babel-eslint',
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2018,
      sourceType: 'module',
    },
    plugins: [
      'react',
      'prettier'
    ],
    rules: {
          'prettier/prettier': 'error',
          'react/jsx-filename-extension': [
              'warn',
              {
                  extensions: ['.jsx', '.js']
              }
          ],
          'import/prefer-default-export': 'off',
          'react/state-in-constructor': 'off',
          'react/sort-comp': 'off',
          'react/static-property-placement': 'off'
    },
  };
  