Skip to content

Allow disabling of tslint gulp subtask #1039

@bpkennedy

Description

@bpkennedy

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at http://aka.ms/sp-dev-uservoice.

Expected or Desired Behavior

I expect to not have to use typescript in my build chain if I choose not to (for instance to use es2015 with webpack). This was stated as being supported (even if Microsoft will not enhance towards using it)

Observed Behavior

tslint gulp subtask is being run from build.rig by default. I found documentation on how to create a custom gulp task, but not how to turn off/overwrite an existing subtask. How can I do this?

Steps to Reproduce

Change back a generated web part project, No Javascript framework, to not be using typescript. gulp serve will work correctly and it builds to the /dist folder correctly. However, once you delete files like these, you see this error when trying to gulp serve (when tslint is run):

  • tslint.json
  • tslint-tsconfig.json
  • tsconfig.json
  • typings folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions