You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
480B

  1. {
  2. "extends": [
  3. "taro"
  4. ],
  5. "rules": {
  6. "no-unused-vars": [
  7. "error",
  8. {
  9. "varsIgnorePattern": "Taro"
  10. }
  11. ],
  12. "react/jsx-filename-extension": [
  13. 1,
  14. {
  15. "extensions": [
  16. ".js",
  17. ".jsx",
  18. ".tsx"
  19. ]
  20. }
  21. ]
  22. },
  23. "parser": "@typescript-eslint/parser",
  24. "parserOptions": {
  25. "ecmaFeatures": {
  26. "jsx": true
  27. },
  28. "useJSXTextNode": true,
  29. "project": "./tsconfig.json"
  30. }
  31. }