tslint.json 865 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "extends": ["tslint:recommended"],
  3. "rules": {
  4. "arrow-parens": false,
  5. "arrow-return-shorthand": [true],
  6. "import-spacing": true,
  7. "interface-name": [false],
  8. "interface-over-type-literal": false,
  9. "linebreak-style": [true, "LF"],
  10. "max-classes-per-file": [false],
  11. "member-access": [false],
  12. "no-require-imports": true,
  13. "object-literal-sort-keys": false,
  14. "ordered-imports": [false],
  15. "no-console": false,
  16. "prefer-const": true,
  17. "quotemark": [true, "single", "jsx-double"],
  18. "space-before-function-paren": [true, {
  19. "anonymous": "always",
  20. "asyncArrow": "always",
  21. "constructor": "never",
  22. "method": "never",
  23. "named": "never"
  24. }],
  25. "variable-name": [
  26. true,
  27. "ban-keywords",
  28. "check-format",
  29. "allow-pascal-case",
  30. "allow-leading-underscore"
  31. ]
  32. }
  33. }