.eslintrc 505 B

1234567891011121314151617
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": [2, 17],
  6. "id-length": [2, { "min": 1, "max": 30 }],
  7. "max-nested-callbacks": [2, 3],
  8. "max-statements": [2, 33],
  9. "max-statements-per-line": [2, { "max": 2 }],
  10. "no-invalid-this": [1],
  11. "no-magic-numbers": [1, { "ignore": [0] }],
  12. "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
  13. "no-unused-vars": [1, { "vars": "all", "args": "after-used" }]
  14. }
  15. }