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.

21 lines
647 B

4 years ago
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": 0,
  6. "consistent-return": 1,
  7. "func-name-matching": 0,
  8. "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
  9. "indent": [2, 4],
  10. "max-lines-per-function": [2, { "max": 150 }],
  11. "max-params": [2, 14],
  12. "max-statements": [2, 52],
  13. "multiline-comment-style": 0,
  14. "no-continue": 1,
  15. "no-magic-numbers": 0,
  16. "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
  17. "operator-linebreak": [2, "before"],
  18. }
  19. }