選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.eslintrc.js 861B

123456789101112131415161718192021222324252627282930
  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. sourceType: 'module',
  14. project: [ './tsconfig.web.json', './tsconfig.native.json' ]
  15. },
  16. rules: {
  17. // TODO: Remove these and fix the warnings
  18. '@typescript-eslint/no-unsafe-function-type': 0,
  19. '@typescript-eslint/no-wrapper-object-types': 0,
  20. '@typescript-eslint/no-require-imports': 0
  21. }
  22. }
  23. ],
  24. 'settings': {
  25. 'react': {
  26. 'version': 'detect'
  27. }
  28. }
  29. };