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.

39 lines
943 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. // For the full list of rules, see: http://eslint.org/docs/rules/
  13. "rules": {
  14. "complexity": [2, 55],
  15. "max-statements": [2, 115],
  16. "no-unreachable": 1,
  17. "no-useless-escape": 0,
  18. "no-console": 0,
  19. "require-jsdoc": ["error", {
  20. "require": {
  21. "FunctionDeclaration": true,
  22. "MethodDefinition": true,
  23. "ClassDeclaration": true,
  24. "ArrowFunctionExpression": false
  25. }
  26. }],
  27. "valid-jsdoc": [2, {
  28. "requireReturnDescription": false,
  29. "requireReturn": false,
  30. "requireParamDescription": false,
  31. "requireReturnType": true
  32. }],
  33. }
  34. // To flag presence of console.log without breaking linting:
  35. //"no-console": ["warn", { allow: ["warn", "error"] }],
  36. }