Aucune description

tslint.json 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "rules": {
  3. "align": [true, "parameters", "statements"],
  4. "ban": false,
  5. "class-name": true,
  6. "comment-format": [false, "check-space", "check-lowercase" ],
  7. "curly": false,
  8. "eofline": false,
  9. "forin": true,
  10. "indent": [true, "spaces"],
  11. "interface-name": false,
  12. "jsdoc-format": true,
  13. "label-position": true,
  14. "label-undefined": true,
  15. "max-line-length": [true, 180],
  16. "member-access": false,
  17. "member-ordering": [false, "public-before-private", "static-before-instance", "variables-before-functions" ],
  18. "no-any": false,
  19. "no-arg": true,
  20. "no-bitwise": true,
  21. "no-conditional-assignment": true,
  22. "no-console": [true, "debug", "info", "time", "timeEnd", "trace" ],
  23. "no-construct": true,
  24. "no-constructor-vars": false,
  25. "no-debugger": true,
  26. "no-duplicate-key": true,
  27. "no-shadowed-variable": true,
  28. "no-duplicate-variable": true,
  29. "no-empty": false,
  30. "no-eval": true,
  31. "no-internal-module": true,
  32. "no-require-imports": true,
  33. "no-string-literal": false,
  34. "no-switch-case-fall-through": true,
  35. "no-trailing-comma": true,
  36. "no-trailing-whitespace": false,
  37. "no-unreachable": true,
  38. "no-unused-expression": [true, "allow-fast-null-checks"],
  39. "no-unused-variable": true,
  40. "no-use-before-declare": true,
  41. "no-var-keyword": true,
  42. "no-var-requires": true,
  43. "one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ],
  44. "quotemark": [false, "double"],
  45. "radix": true,
  46. "semicolon": true,
  47. "switch-default": true,
  48. "triple-equals": [true, "allow-null-check"],
  49. "typedef": [false, "call-signature", "parameter", "property-declaration", "variable-declaration", "member-variable-declaration" ],
  50. "typedef-whitespace": [true, {
  51. "call-signature": "nospace",
  52. "index-signature": "nospace",
  53. "parameter": "nospace",
  54. "variable-declaration": "nospace"
  55. }],
  56. "use-strict": [false, "check-module", "check-function" ],
  57. "variable-name": false,
  58. "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ]
  59. }
  60. }