Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "env": {
  5. "es6": true,
  6. },
  7. "rules": {
  8. "arrow-parens": [2, "always"],
  9. "array-bracket-newline": 0,
  10. "array-element-newline": 0,
  11. "complexity": 0,
  12. "eqeqeq": [2, "allow-null"],
  13. "func-name-matching": 0,
  14. "id-length": [2, { "min": 1, "max": 30 }],
  15. "max-params": [2, 4],
  16. "max-statements": [2, 24],
  17. "max-statements-per-line": [2, { "max": 2 }],
  18. "multiline-comment-style": 1,
  19. "no-magic-numbers": 0,
  20. "new-cap": 0,
  21. "no-extra-parens": 1,
  22. "operator-linebreak": [2, "before"],
  23. "sort-keys": 0,
  24. },
  25. "overrides": [
  26. {
  27. "files": "./es5.js",
  28. "rules": {
  29. "max-lines": [2, 600],
  30. "max-statements": [2, 30],
  31. },
  32. },
  33. {
  34. "files": "./es2015.js",
  35. "rules": {
  36. "max-lines": [2, 1400],
  37. },
  38. },
  39. {
  40. "files": "operations/*",
  41. "rules": {
  42. "max-lines": 0,
  43. },
  44. },
  45. {
  46. "files": "operations/*.js",
  47. "parserOptions": {
  48. "ecmaVersion": "2018",
  49. },
  50. "rules": {
  51. //camelcase
  52. //array-callback-return
  53. //consistent-return
  54. "no-console": 0,
  55. "no-multi-str": 0,
  56. },
  57. },
  58. {
  59. "files": "operations/getOps.js",
  60. "rules": {
  61. "no-console": 0,
  62. "no-process-exit": 0,
  63. },
  64. },
  65. ],
  66. }