eslint: add lint enforcing camelCase

snake_case is needed in one place in the codebase to format URL arguments.
Co-authored-by: Calvin Lee <pounce@integraldoma.in>
Co-committed-by: Calvin Lee <pounce@integraldoma.in>
This commit is contained in:
Calvin Lee 2025-01-27 16:29:58 +00:00 committed by Simon Ser
parent 513cf825a5
commit 5146b0cad8
2 changed files with 7 additions and 6 deletions

View file

@ -34,6 +34,7 @@ export default [
"no-implicit-coercion": "warn",
"object-shorthand": "warn",
"curly": "warn",
"camelcase": "warn",
"@stylistic/js/indent": ["warn", "tab"],
"@stylistic/js/quotes": ["warn", "double"],
"@stylistic/js/semi": "warn",