A clone of ssh://git@git.pep-security.lu:23000/thunderbird/pEpForThunderbird.git, until that one is open source again.
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.

70 lines
1.5 KiB

2 years ago
2 years ago
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true
  5. },
  6. "extends": [
  7. "airbnb-base"
  8. ],
  9. "globals": {
  10. "ChromeUtils": "readonly",
  11. "Components": "readonly",
  12. "Ci": "readonly",
  13. "Cc": "readonly",
  14. "Cr": "readonly",
  15. "Cu": "readonly"
  16. },
  17. "parserOptions": {
  18. "ecmaVersion": 2018
  19. },
  20. "rules": {
  21. "indent": [
  22. "error",
  23. 2,
  24. {
  25. "SwitchCase": 1
  26. }
  27. ],
  28. "max-len": [
  29. "error",
  30. {
  31. "code": 130,
  32. "tabWidth": 2
  33. }
  34. ],
  35. "quotes": [
  36. "warn", "double"
  37. ],
  38. "operator-linebreak": [
  39. 2, "after", {
  40. "overrides": { "?": "before", ":": "before" }
  41. }
  42. ],
  43. "comment: the following all come from airbnb-base, let's leave them off": "off",
  44. "array-callback-return": "off",
  45. "camelcase": "off",
  46. "class-methods-use-this": "off",
  47. "eqeqeq": "off",
  48. "guard-for-in": "off",
  49. "max-classes-per-file": "off",
  50. "new-cap": "off",
  51. "no-bitwise": "off",
  52. "no-console": "off",
  53. "no-continue": "off",
  54. "no-empty": "off",
  55. "no-multi-spaces": "off",
  56. "no-param-reassign": "off",
  57. "no-plusplus": "off",
  58. "no-prototype-builtins": "off",
  59. "no-restricted-syntax": "off",
  60. "no-underscore-dangle": "off",
  61. "no-unused-expressions": "off",
  62. "no-use-before-define": "off",
  63. "no-var": "off",
  64. "prefer-const": "off",
  65. "prefer-destructuring": "off",
  66. "comment: will need to look at the following one-by-one": "off",
  67. "no-unused-vars": "off"
  68. }
  69. }