Skip to content
An example ESLint rule that validates a function based on the comment that precedes it.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests/lib/rules
.gitignore
README.md
package-lock.json
package.json

README.md

This repository contains an example ESLint rule that validates a function based on the comment that precedes it. For a more detailed explanation see my blog post Writing an ESLint Rule That Depends on a Comment.

To test, first run npm install and then npm run test.

You can’t perform that action at this time.