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.

34 lines
695 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. "no-console": 0,
  17. "no-useless-escape": 0
  18. /*
  19. // some disabled options which might be useful
  20. "no-empty": 0,
  21. "no-extra-semi": 0,
  22. "no-fallthrough": 0,
  23. "no-inner-declarations": 0,
  24. "no-mixed-spaces-and-tabs": 0,
  25. "no-redeclare": 0,
  26. "no-unused-vars": 0,
  27. // following will flag presence of console.log as error.
  28. "no-console": ["error", { allow: ["warn", "error"] }],
  29. */
  30. }
  31. }