Unfortunately I missed the challenge this month (March). So I decided to try to create my own lint rule/plugin anyway, without receiving stickers ๐ญ
Learn how to create a plugin following this tutorial.
A rule that checks if a declared function's name starts with an upper case letter and prohibits this practice i.e. more or less conforms to pascalCase.
// linter will show error
function FooBar() {
console.log('foo')
}
// follows the rule
function fooBar() {
console.log('bar')
}
I never checked out Deno's test runner and hence decided to test my rule.