Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

39 rindas
1.1 KiB

pirms 4 gadiem
  1. {
  2. "extends": "@ljharb",
  3. "root": true,
  4. "rules": {
  5. "array-bracket-newline": 0,
  6. "array-element-newline": 0,
  7. "indent": [2, 4],
  8. "strict": 0,
  9. "complexity": 0,
  10. "consistent-return": 0,
  11. "curly": 0,
  12. "dot-notation": [2, { "allowKeywords": true }],
  13. "func-name-matching": 0,
  14. "func-style": 0,
  15. "global-require": 0,
  16. "id-length": [2, { "min": 1, "max": 30 }],
  17. "max-lines-per-function": 0,
  18. "max-nested-callbacks": 0,
  19. "max-params": 0,
  20. "max-statements-per-line": [2, { "max": 2 }],
  21. "max-statements": 0,
  22. "no-magic-numbers": 0,
  23. "no-console": 0,
  24. "no-shadow": 0,
  25. "no-unused-vars": [2, { "vars": "all", "args": "none" }],
  26. "no-use-before-define": 0,
  27. "object-curly-newline": 0,
  28. "operator-linebreak": [2, "before"],
  29. "sort-keys": 0,
  30. },
  31. "overrides": [
  32. {
  33. "files": "test/resolver/nested_symlinks/mylib/*.js",
  34. "rules": {
  35. "no-throw-literal": 0,
  36. },
  37. },
  38. ],
  39. }