Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. {
  2. "linterOptions": {
  3. "exclude": ["node_modules/**"]
  4. },
  5. "extends": ["tslint:latest", "tslint-config-prettier"],
  6. "rules": {
  7. "arrow-return-shorthand": true,
  8. "callable-types": true,
  9. "class-name": true,
  10. "curly": true,
  11. "deprecation": {
  12. "severity": "warn"
  13. },
  14. "eofline": true,
  15. "forin": true,
  16. "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "member-variable-declaration"],
  17. "import-spacing": true,
  18. "max-line-length": [true, 160],
  19. "member-access": true,
  20. "new-parens": true,
  21. "no-arg": true,
  22. "no-bitwise": true,
  23. "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
  24. "no-construct": true,
  25. "no-debugger": true,
  26. "no-duplicate-super": true,
  27. "no-empty": false,
  28. "no-empty-interface": true,
  29. "no-eval": true,
  30. "no-inferrable-types": [true, "ignore-params"],
  31. "no-misused-new": true,
  32. "no-non-null-assertion": true,
  33. "no-string-literal": false,
  34. "no-string-throw": true,
  35. "no-switch-case-fall-through": true,
  36. "no-trailing-whitespace": true,
  37. "no-unnecessary-initializer": true,
  38. "no-unused-expression": true,
  39. "no-use-before-declare": true,
  40. "no-var-keyword": true,
  41. "no-conditional-assignment": true,
  42. "no-consecutive-blank-lines": false,
  43. "one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
  44. "prefer-const": true,
  45. "quotemark": [true, "double"],
  46. "radix": true,
  47. "semicolon": [true, "always"],
  48. "triple-equals": [true, "allow-null-check", "allow-undefined-check"],
  49. "unified-signatures": true,
  50. "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "require-const-for-all-caps"],
  51. "whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type"],
  52. "no-output-on-prefix": true,
  53. "use-input-property-decorator": true,
  54. "use-output-property-decorator": true,
  55. "use-host-property-decorator": true,
  56. "no-input-rename": true,
  57. "no-output-rename": true
  58. }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement