Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

.eslintrc.js 812B

12345678910111213141516171819202122232425262728
  1. module.exports = {
  2. extends: [
  3. '../.eslintrc.js',
  4. '@jitsi/eslint-config/jsdoc',
  5. '@jitsi/eslint-config/react',
  6. '.eslintrc-react-native.js'
  7. ],
  8. overrides: [
  9. {
  10. files: [ '*.ts', '*.tsx' ],
  11. extends: [ '@jitsi/eslint-config/typescript' ],
  12. parserOptions: {
  13. project: [ './tsconfig.web.json', './tsconfig.native.json' ]
  14. },
  15. rules: {
  16. // TODO: Remove these and fix the warnings
  17. '@typescript-eslint/no-unsafe-function-type': 0,
  18. '@typescript-eslint/no-wrapper-object-types': 0,
  19. '@typescript-eslint/no-require-imports': 0
  20. }
  21. }
  22. ],
  23. settings: {
  24. react: {
  25. 'version': 'detect'
  26. }
  27. }
  28. };