shek119
8/23/2019 - 12:40 AM

.eslintrc.js

.eslintrc.js

module.exports = {
  env: {
    browser: true,
    es6: true,
    node: true,
  },
  extends: [
    'airbnb',
  ],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly',
  },
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: 2018,
    sourceType: 'module',
  },
  plugins: [
    'react',
  ],
  rules: {
    "react/jsx-filename-extension": 0,
    'linebreak-style': ["error", "windows"],
    "react/self-closing-comp": 0,
    "arrow-body-style": 0,
    "no-plusplus": 0,
    "no-case-declarations": 0,
    "no-console": 0,
    "jsx-a11y/click-events-have-key-events": 0,
    "jsx-a11y/no-static-element-interactions": 0,
    "react/button-has-type": 0,
    "react/require-default-props": 0,
    "consistent-return": 0,
  },
};