-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Some people prefer keywords to be lowercase (sub main()). Others prefer uppercase (SUB main()), or title-case (Sub main()). Enforce those preferences with an eslint rule
Schema
Name: keyword-case
Options:
- String (enum)
- Values:
"lower" | "title" | "upper"
- Values:
Examples
if foo then
print "bar"
end if| Option | Allowed? |
|---|---|
lower |
✅ |
title |
🚫 |
upper |
🚫 |
If foo Then
Print "bar"
End If| Option | Allowed? |
|---|---|
lower |
🚫 |
title |
✅ |
upper |
🚫 |
IF foo THEN
PRINT "bar"
END IF| Option | Allowed? |
|---|---|
lower |
🚫 |
title |
🚫 |
upper |
✅ |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request