.eslintrc 532 B

123456789101112131415161718
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": [2, 26],
  6. "consistent-return": 1,
  7. "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
  8. "indent": [2, 4],
  9. "max-params": [2, 12],
  10. "max-statements": [2, 43],
  11. "no-continue": 1,
  12. "no-magic-numbers": 0,
  13. "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
  14. "operator-linebreak": [2, "after"],
  15. }
  16. }