tslint.js 660 B

123456789101112131415161718192021222324
  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: 'tslint.json'
  10. // {
  11. // rules: {
  12. // curly: true,
  13. // align: [true, "parameters", "statements"],
  14. // indent: [true, "spaces"],
  15. // "class-name": true,
  16. // "interface-name": true,
  17. // "semicolon": true,
  18. // "use-strict": [false, "check-module", "check-function"],
  19. // "whitespace": [true, "check-branch", "check-decl", "check-type"],
  20. // }
  21. // }
  22. }
  23. };
  24. };