vis.js is a dynamic, browser-based visualization library
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.

33 lines
694 B

  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true,
  6. "mocha": true
  7. },
  8. "parserOptions": {
  9. "sourceType": "module",
  10. },
  11. "extends": "eslint:recommended",
  12. "rules": {
  13. "complexity": [2, 55],
  14. "max-statements": [2, 115],
  15. "no-unreachable": 1,
  16. /*
  17. // some disabled options which might be useful
  18. "no-console": 0,
  19. "no-empty": 0,
  20. "no-extra-semi": 0,
  21. "no-fallthrough": 0,
  22. "no-inner-declarations": 0,
  23. "no-mixed-spaces-and-tabs": 0,
  24. "no-redeclare": 0,
  25. "no-unused-vars": 0,
  26. "no-useless-escape": 0,
  27. // following will flag presence of console.log as error.
  28. "no-console": ["error", { allow: ["warn", "error"] }],
  29. }
  30. }