您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.eslintrc.js 689B

1234567891011121314151617181920212223242526272829
  1. module.exports = {
  2. 'extends': [
  3. '../.eslintrc.js',
  4. '@jitsi/eslint-config/flow',
  5. '@jitsi/eslint-config/jsdoc',
  6. '@jitsi/eslint-config/react',
  7. '.eslintrc-react-native.js'
  8. ],
  9. 'overrides': [
  10. {
  11. 'files': [ '*.ts', '*.tsx' ],
  12. extends: [ '@jitsi/eslint-config/typescript' ]
  13. }
  14. ],
  15. 'rules': {
  16. 'flowtype/no-types-missing-file-annotation': 0,
  17. // XXX remove this eventually.
  18. 'react/jsx-indent-props': 0
  19. },
  20. 'settings': {
  21. 'flowtype': {
  22. 'onlyFilesWithFlowAnnotation': true
  23. },
  24. 'react': {
  25. 'version': 'detect'
  26. }
  27. }
  28. };