mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-16 19:06:45 +00:00
chore(lint): add function expression indent rule
This commit is contained in:
parent
f1daf4841f
commit
7c7db26027
@ -2,7 +2,8 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"indent": [ 2, 2, {
|
"indent": [ 2, 2, {
|
||||||
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
|
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
|
||||||
"FunctionDeclaration": { "body": 1, "parameters": 2 }
|
"FunctionDeclaration": { "body": 1, "parameters": 2 },
|
||||||
|
"FunctionExpression": { "body": 1, "parameters": 2 }
|
||||||
} ],
|
} ],
|
||||||
"keyword-spacing": [ 2 ],
|
"keyword-spacing": [ 2 ],
|
||||||
"mocha/no-exclusive-tests": 2,
|
"mocha/no-exclusive-tests": 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user