mirror of the bylaws
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.
 
 
 
 

105 lines
2.4 KiB

  1. {
  2. "env": {
  3. "node": true,
  4. "jest": true
  5. },
  6. "extends": "eslint:recommended",
  7. "parserOptions": {
  8. "ecmaVersion": 6
  9. },
  10. "rules": {
  11. "array-bracket-spacing": [
  12. "error",
  13. "always"
  14. ],
  15. "block-scoped-var": "error",
  16. "block-spacing": [
  17. "error",
  18. "never"
  19. ],
  20. "brace-style": [
  21. "error",
  22. "1tbs"
  23. ],
  24. "comma-dangle": [
  25. "error",
  26. "never"
  27. ],
  28. "indent": [
  29. "error",
  30. 4
  31. ],
  32. "linebreak-style": [
  33. "error",
  34. "unix"
  35. ],
  36. "global-require": "error",
  37. "no-extra-parens": "error",
  38. "no-inline-comments": "error",
  39. "no-lonely-if": "error",
  40. "no-multiple-empty-lines": [
  41. "error",
  42. {
  43. "max": 1,
  44. "maxBOF": 0,
  45. "maxEOF": 0
  46. }
  47. ],
  48. "no-mixed-operators": "error",
  49. "no-mixed-requires": "error",
  50. "no-nested-ternary": "error",
  51. "no-plusplus": "error",
  52. "no-return-assign": "error",
  53. "no-trailing-spaces": "error",
  54. "no-useless-return": "error",
  55. "object-curly-newline": [
  56. "error",
  57. {
  58. "minProperties": 2
  59. }
  60. ],
  61. "one-var": [
  62. "error",
  63. {
  64. "initialized": "never",
  65. "uninitialized": "consecutive"
  66. }
  67. ],
  68. "one-var-declaration-per-line": [
  69. "error",
  70. "initializations"
  71. ],
  72. "padded-blocks": [
  73. "error",
  74. "never"
  75. ],
  76. "quotes": [
  77. "error",
  78. "single"
  79. ],
  80. "require-jsdoc": [
  81. "warn",
  82. {
  83. "require": {
  84. "FunctionDeclaration": true,
  85. "MethodDefinition": true,
  86. "ClassDeclaration": true,
  87. "ArrowFunctionExpression": true,
  88. "FunctionExpression": true
  89. }
  90. }
  91. ],
  92. "semi": [
  93. "error",
  94. "always"
  95. ],
  96. "space-before-function-paren": [
  97. "error",
  98. {
  99. "anonymous": "always",
  100. "named": "never"
  101. }
  102. ],
  103. "valid-jsdoc": "error"
  104. }
  105. }