chore: enforce camelcase

pull/384/head
Webber 2022-04-11 22:51:20 +02:00
parent 480afb0433
commit 76a6e69afe
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@
{ "blankLine": "always", "prev": "directive", "next": "*" },
{ "blankLine": "any", "prev": "directive", "next": "directive" }
],
// Enforce camelCase
"camelcase": "error",
// Allow forOfStatements
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
// Continue is viable in forOf loops in generators