tslint.js 602 B

1234567891011121314151617181920212223
  1. module.exports = function(config) {
  2. return {
  3. source: {
  4. files: {
  5. src: ['<%= srcDir %>/app/**/*.ts', '!<%= srcDir %>/app/**/*.d.ts'],
  6. }
  7. },
  8. options: {
  9. configuration: {
  10. rules: {
  11. curly: true,
  12. align: [true, "parameters", "statements"],
  13. indent: [true, "spaces"],
  14. "class-name": true,
  15. "interface-name": true,
  16. "semicolon": true,
  17. "use-strict": [false, "check-module", "check-function"],
  18. "whitespace": [true, "check-branch", "check-decl", "check-type"],
  19. }
  20. }
  21. }
  22. };
  23. };