Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. {
  2. "env": {
  3. "node": true,
  4. "browser": true,
  5. "es6": true,
  6. "jest": true
  7. },
  8. "globals": {
  9. "__DEV__": "readonly",
  10. "__DEMOS__": "readonly",
  11. "__ICONS__": "readonly"
  12. },
  13. "plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
  14. "extends": [
  15. "eslint:recommended",
  16. "plugin:@typescript-eslint/recommended",
  17. "plugin:react/recommended",
  18. "prettier",
  19. "prettier/@typescript-eslint",
  20. "prettier/react"
  21. ],
  22. "parser": "@typescript-eslint/parser",
  23. "parserOptions": {
  24. "ecmaVersion": 2018,
  25. "sourceType": "module",
  26. "ecmaFeatures": {
  27. "experimentalObjectRestSpread": true,
  28. "modules": true,
  29. "jsx": true
  30. },
  31. "project": "./tsconfig.json"
  32. },
  33. "rules": {
  34. "no-console": "off",
  35. "prettier/prettier": "error",
  36. "react/prop-types": "off",
  37. "react/no-unescaped-entities": "off",
  38. "react-hooks/rules-of-hooks": "error",
  39. "@typescript-eslint/no-empty-interface": "warn",
  40. "@typescript-eslint/no-non-null-assertion": "warn"
  41. },
  42. "settings": {
  43. "react": {
  44. "version": "16.8"
  45. }
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement