Ei kuvausta

tslint.json 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "extends": ["tslint-react", "tslint-config-prettier"],
  3. "defaultSeverity": "warning",
  4. "rules": {
  5. "ban": false,
  6. "class-name": true,
  7. "comment-format": [true, "check-space"],
  8. "curly": true,
  9. "eofline": false,
  10. "forin": true,
  11. "jsdoc-format": true,
  12. "jsx-no-lambda": false,
  13. "jsx-no-multiline-js": false,
  14. "label-position": true,
  15. "no-any": true,
  16. "no-arg": true,
  17. "no-bitwise": true,
  18. "no-console": [true, "log", "error", "debug", "info", "time", "timeEnd", "trace"],
  19. "no-construct": true,
  20. "no-debugger": true,
  21. "no-duplicate-variable": true,
  22. "no-empty": true,
  23. "no-eval": true,
  24. "no-shadowed-variable": true,
  25. "no-string-literal": true,
  26. "no-switch-case-fall-through": true,
  27. "no-trailing-whitespace": false,
  28. "no-unused-expression": true,
  29. "no-use-before-declare": true,
  30. "radix": true,
  31. "switch-default": true,
  32. "trailing-comma": [false],
  33. "triple-equals": [true, "allow-null-check"],
  34. "typedef": [true, "parameter", "property-declaration"],
  35. "variable-name": [
  36. true,
  37. "ban-keywords",
  38. "check-format",
  39. "allow-leading-underscore",
  40. "allow-pascal-case"
  41. ]
  42. }
  43. }