modified lib-jitsi-meet dev repo
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.

.eslintrc.js 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. module.exports = {
  2. 'env': {
  3. 'browser': true,
  4. 'commonjs': true,
  5. 'es6': true,
  6. 'jasmine': true
  7. },
  8. 'extends': 'eslint:recommended',
  9. 'globals': {
  10. // The globals that (1) are accessed but not defined within many of our
  11. // files, (2) are certainly defined, and (3) we would like to use
  12. // without explicitly specifying them (using a comment) inside of our
  13. // files.
  14. '__filename': false
  15. },
  16. 'parserOptions': {
  17. 'sourceType': 'module'
  18. },
  19. 'rules': {
  20. 'new-cap': [
  21. 'error',
  22. {
  23. 'capIsNew': false // Behave like JSHint's newcap.
  24. }
  25. ],
  26. // While it is considered a best practice to avoid using methods on
  27. // console in JavaScript that is designed to be executed in the browser
  28. // and ESLint includes the rule among its set of recommended rules, (1)
  29. // the general practice is to strip such calls before pushing to
  30. // production and (2) we prefer to utilize console in lib-jitsi-meet
  31. // (and jitsi-meet).
  32. 'no-console': 'off',
  33. 'semi': 'error'
  34. }
  35. };