Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true
  5. },
  6. "parser": "@typescript-eslint/parser",
  7. "extends": [
  8. "plugin:@typescript-eslint/recommended",
  9. "plugin:react/recommended",
  10. "plugin:prettier/recommended",
  11. "prettier/@typescript-eslint"
  12. ],
  13. "parserOptions": {
  14. "ecmaVersion": 8,
  15. "ecmaFeatures": {
  16. "experimentalObjectRestSpread": true,
  17. "jsx": true
  18. },
  19. "sourceType": "module"
  20. },
  21. "plugins": ["react", "react-hooks", "@typescript-eslint"],
  22. "rules": {
  23. "indent": ["error", 2],
  24. "linebreak-style": ["error", "unix"],
  25. "quotes": ["error", "single"],
  26. "semi": ["off", "never"],
  27. "no-console": "off",
  28. "react/display-name": ["off"],
  29. "react-hooks/rules-of-hooks": "error",
  30. "react-hooks/exhaustive-deps": "warn",
  31. "@typescript-eslint/explicit-function-return-type": "off"
  32. },
  33. "globals": {
  34. "describe": false,
  35. "beforeEach": false,
  36. "global": false,
  37. "process": false,
  38. "test": false,
  39. "expect": false
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement