Skip to content

Enable prefer-const tslint flag#4018

Merged
dzearing merged 6 commits intomasterfrom
manishga/letconst
Feb 20, 2018
Merged

Enable prefer-const tslint flag#4018
dzearing merged 6 commits intomasterfrom
manishga/letconst

Conversation

@manishgarg1
Copy link
Copy Markdown
Collaborator

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ npm run change

Description of changes

(give an overview)

Focus areas to test

(optional)

/**
* Gets the base button styles. Note: because it is a base class to be used with the `mergeRules`
* helper, it should have values for all class names in the interface. This let `mergeRules` optimize
* helper, it should have values for all class names in the interface. This const `mergeRules` optimize
Copy link
Copy Markdown
Contributor

@cschleiden cschleiden Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you make the changes? search/replace or using tslint autofix? We shouldn't change comments #Resolved

Copy link
Copy Markdown
Collaborator Author

@manishgarg1 manishgarg1 Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanx for the review @cschleiden. This and a few others are already fixed. #Resolved

"variable-name": false,
"no-internal-module": false,
"prefer-const": false,
"prefer-const": true,
Copy link
Copy Markdown
Member

@dzearing dzearing Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just be deleted, and you should update the default oufr-tslint/tslint.json to be true. This might mean you need to set it to false elsewhere.
#Resolved

Copy link
Copy Markdown
Collaborator Author

@manishgarg1 manishgarg1 Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Let me fix that. #Resolved

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


In reply to: 168983208 [](ancestors = 168983208)

Copy link
Copy Markdown
Member

@dzearing dzearing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor nit

@dzearing dzearing closed this Feb 20, 2018
@dzearing dzearing reopened this Feb 20, 2018
@dzearing
Copy link
Copy Markdown
Member

I have disabled the pr deploy workflow in vsts for now.
Requeuing the build.

@dzearing dzearing merged commit 99e2a7a into master Feb 20, 2018
@dzearing dzearing deleted the manishga/letconst branch February 20, 2018 03:08
Markionium added a commit to Markionium/office-ui-fabric-react that referenced this pull request Feb 21, 2018
* master:
  Applying package updates.
  Features/disabled link pointer events (microsoft#4020)
  Image SCSS to MergeStyles Part 1: File Structure (microsoft#4037)
  Nav SCSS to MergeStyles Part 1: File Structure (microsoft#4036)
  Dialog: modal props now mixed correctly (microsoft#4045)
  Rating type (microsoft#4046)
  Dialog: Converting to mergeStyles part 1 - file structure. (microsoft#4042)
  ScrollablePane SCSS to MergeStyles Part 2: Style Conversion (microsoft#4010)
  Spin Button and Checkbox: Added Support for aria-setsize and aria-posinset (microsoft#4006)
  SwatchColorPicker: Improve keyboarding/mouse experience (microsoft#4035)
  Enable jsx key (microsoft#4017)
  make onShouldVirtualize work for grouped list (microsoft#4021)
  ResizeGroup SCSS to MergeStyles Part 1: File Structure (microsoft#4022)
  Misc changes from 6.0 branch (microsoft#4031)
  Enable prefer-const tslint flag (microsoft#4018)
Markionium added a commit to Markionium/office-ui-fabric-react that referenced this pull request Feb 21, 2018
* origin:
  Applying package updates.
  Features/disabled link pointer events (microsoft#4020)
  Image SCSS to MergeStyles Part 1: File Structure (microsoft#4037)
  Nav SCSS to MergeStyles Part 1: File Structure (microsoft#4036)
  Dialog: modal props now mixed correctly (microsoft#4045)
  Rating type (microsoft#4046)
  Dialog: Converting to mergeStyles part 1 - file structure. (microsoft#4042)
  ScrollablePane SCSS to MergeStyles Part 2: Style Conversion (microsoft#4010)
  Spin Button and Checkbox: Added Support for aria-setsize and aria-posinset (microsoft#4006)
  SwatchColorPicker: Improve keyboarding/mouse experience (microsoft#4035)
  Enable jsx key (microsoft#4017)
  make onShouldVirtualize work for grouped list (microsoft#4021)
  ResizeGroup SCSS to MergeStyles Part 1: File Structure (microsoft#4022)
  Misc changes from 6.0 branch (microsoft#4031)
  Enable prefer-const tslint flag (microsoft#4018)
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants