.eslintrc 560 B

12345678910111213141516171819
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": [2, 28],
  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-params": [2, 12],
  11. "max-statements": [2, 45],
  12. "no-continue": 1,
  13. "no-magic-numbers": 0,
  14. "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
  15. "operator-linebreak": [2, "before"],
  16. }
  17. }