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

feat(options): support CodeBlock's comment #69

Merged
merged 3 commits into from
Dec 18, 2019
Merged

feat(options): support CodeBlock's comment #69

merged 3 commits into from
Dec 18, 2019

Conversation

azu
Copy link
Member

@azu azu commented Dec 11, 2019

Features

  • Add checkCodeComment options

Example

{
    "rules": {
        "prh": {
            "checkCodeComment": ["js", "javascript"],
            "rulePaths" :["./prh.yml"]
        }
    }
}

Support CodeBlock's comment // and /*.

// $ is jquery

Limitation: It just support JavaScript Code, because I don't found any lang comment parser correctly.

fix #38

@azu azu merged commit ee66921 into master Dec 18, 2019
@azu azu deleted the codeblock branch December 18, 2019 01:45
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 checkCode
1 participant