Skip to content

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

2 participants