.eslintrc 556 B

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