Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Modify lint rules to enforce underscore for protected members #354

Merged

Conversation

BMillman19
Copy link
Contributor

Description

Modified custom 'underscore-privates' rule, changing it to 'underscore-private-and-protected' requiring underscores to be prepended to both private and protected variable names

Motivation and Context

Fixes inconsistent usage of an underscore prefix for protected members

How Has This Been Tested?

lerna run test

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Change requires a change to the documentation.
  • Added tests to cover my changes.

@coveralls
Copy link

coveralls commented Jan 31, 2018

Coverage Status

Coverage decreased (-0.05%) to 90.141% when pulling 78fbf0f on feature/tslint-config/underscore-protected-members into 75539bf on development.

…ected-members

* development:
  Updated contract generation in 0x to new abi-gen CLI
  Removed deprecated CLI options
  Added PR # to the changelog of abi-gen
  Added CLI options for explicit specifying location of partials and main template
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants