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

lint exclude: lintExclude: support wildcard (*) #160

Merged
merged 2 commits into from
Feb 6, 2020
Merged

Conversation

k1LoW
Copy link
Owner

@k1LoW k1LoW commented Feb 6, 2020

Fix #158

lint:
  requireTableComment:
    enabled: true
  requireColumnComment:
    enabled: true
    exclude:
      - id
      - *_id  # support wildcard

@k1LoW k1LoW self-assigned this Feb 6, 2020
@codecov
Copy link

codecov bot commented Feb 6, 2020

Codecov Report

Merging #160 into master will decrease coverage by 1.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   70.05%   68.93%   -1.12%     
==========================================
  Files          13       13              
  Lines        2802     2801       -1     
==========================================
- Hits         1963     1931      -32     
- Misses        642      679      +37     
+ Partials      197      191       -6
Impacted Files Coverage Δ
config/lint.go 96.48% <100%> (-0.02%) ⬇️
datasource/datasource.go 20.85% <0%> (-19.02%) ⬇️

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 acd7696...d5ca64d. Read the comment docs.

@k1LoW k1LoW merged commit e91e3c8 into master Feb 6, 2020
@k1LoW k1LoW deleted the wildcard-contains branch February 6, 2020 11:24
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.

add a mask and WHERE part
1 participant