Feature: add rust-style-naming rule
In my deno projects, I often use Rust via ffi and I was wondering if we could unify the naming conventions.
It may have been proposed already (Discord?), yet I didn't find an issue for the following proposal:
Similar to https://rust-lang.github.io/api-guidelines/naming.html a lint rule that enforces UpperCamelCase for types, interfaces and classes and snake_case for functions, methods and variables plus SCREAMING_SNAKE_CASE for constants (if enforcible) would be great.
pros: uniform naming across Rust and TypeScript
cons: JS legacy naming convention is camelCase
I'm working on a PR
See #1323
FYI: I've ported the rule to a TS plugin: https://jsr.io/@c-antin/lint-plugin-rust-style