视频播放器仓库

.eslintrc.json 587B

123456789101112131415161718192021222324252627282930
  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "commonjs": true,
  6. "es6": true,
  7. "jest": true,
  8. "jasmine": true
  9. },
  10. "extends": "eslint:recommended",
  11. "parserOptions": {
  12. "ecmaFeatures": {
  13. "experimentalObjectRestSpread": true,
  14. "jsx": true
  15. },
  16. "sourceType": "module"
  17. },
  18. "plugins": [
  19. "react"
  20. ],
  21. "rules": {
  22. "quotes": [
  23. "error",
  24. "single"
  25. ],
  26. "react/jsx-uses-react": "error",
  27. "react/jsx-uses-vars": "error"
  28. }
  29. }