chore: enforce camelcase
parent
480afb0433
commit
76a6e69afe
|
|
@ -42,6 +42,8 @@
|
||||||
{ "blankLine": "always", "prev": "directive", "next": "*" },
|
{ "blankLine": "always", "prev": "directive", "next": "*" },
|
||||||
{ "blankLine": "any", "prev": "directive", "next": "directive" }
|
{ "blankLine": "any", "prev": "directive", "next": "directive" }
|
||||||
],
|
],
|
||||||
|
// Enforce camelCase
|
||||||
|
"camelcase": "error",
|
||||||
// Allow forOfStatements
|
// Allow forOfStatements
|
||||||
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
|
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
|
||||||
// Continue is viable in forOf loops in generators
|
// Continue is viable in forOf loops in generators
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue