Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a rule to R.cond warning if the last condition is not a R.T. #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikepombal
Copy link

This PR adds the cond-default rule.

It suggests to have R.T as the last condition so it acts as the default value.

@codecov-io
Copy link

codecov-io commented Oct 18, 2019

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #27   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          27     28    +1     
  Lines         249    258    +9     
=====================================
+ Hits          249    258    +9
Impacted Files Coverage Δ
rules/cond-default.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e3d75d...5f85308. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants