SHARE
TWEET

Untitled

a guest Jul 24th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module.exports = {
  2.   env: {
  3.     es6: true,
  4.     jest: true,
  5.     browser: true
  6.   },
  7.   extends: ["airbnb", "prettier", "prettier/react"],
  8.   globals: {
  9.     Atomics: "readonly",
  10.     SharedArrayBuffer: "readonly",
  11.     __DEV__: true
  12.   },
  13.   parserOptions: {
  14.     ecmaFeatures: {
  15.       jsx: true
  16.     },
  17.     ecmaVersion: 2018,
  18.     sourceType: "module"
  19.   },
  20.   plugins: ["react", "jsx-a11y", "import", "react-hooks", "prettier"],
  21.   rules: {
  22.     "prettier/prettier": "error",
  23.     "react/jsx-filename-extension": ["error", { extensions: [".js", ".jsx"] }],
  24.     "import/prefer-default-export": "off",
  25.     "no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
  26.     "react/jsx-one-expression-per-line": "off",
  27.     "global-require": "off",
  28.     "react-native/no-raw-text": "off",
  29.     "no-param-reassign": "off",
  30.     "no-underscore-dangle": "off",
  31.     camelcase: "off",
  32.     "no-console": ["error", { allow: ["tron"] }],
  33.     "react-hooks/rules-of-hooks": "error",
  34.     "react-hooks/exhaustive-deps": "warn"
  35.   }
  36. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top