1/30/2024 0 Comments Phpstorm switch tabs![]() "ArrayExpression" (default: 1) enforces indentation level for elements in arrays.This can also be set to "off" to disable checking for CallExpression arguments. This can either be a number indicating indentation level, or the string "first" indicating that all arguments of the expression must be aligned with the first argument. arguments (default: 1) enforces indentation level for arguments in a call expression."CallExpression" takes an object to define rules for function call expressions.body (default: 1) enforces indentation level for the body of a class static block."StaticBlock" takes an object to define rules for class static blocks.body (default: 1) enforces indentation level for the body of a function expression.This can also be set to "off" to disable checking for FunctionExpression parameters. This can either be a number indicating indentation level, or the string "first" indicating that all parameters of the expression must be aligned with the first parameter. parameters (default: 1) enforces indentation level for parameters in a function expression."FunctionExpression" takes an object to define rules for function expressions.body (default: 1) enforces indentation level for the body of a function declaration.This can also be set to "off" to disable checking for FunctionDeclaration parameters. This can either be a number indicating indentation level, or the string "first" indicating that all parameters of the declaration must be aligned with the first parameter. parameters (default: 1) enforces indentation level for parameters in a function declaration."FunctionDeclaration" takes an object to define rules for function declarations.This can also be set to "off" to disable checking for MemberExpression indentation. "MemberExpression" (default: 1) enforces indentation level for multi-line property chains.This can also be set to "off" to disable checking for file-level IIFEs. "outerIIFEBody" (default: 1) enforces indentation level for file-level IIFEs.It can also be "first", indicating all the declarators should be aligned with the first declarator. "VariableDeclarator" (default: 1) enforces indentation level for var declarators can also take an object to define separate rules for var, let and const declarations."SwitchCase" (default: 0) enforces indentation level for case clauses in switch statements.This can be used as an escape hatch to relax the rule if you disagree with the indentation that it enforces for a particular syntactic pattern. If an AST node is matched by any of the selectors, the indentation of tokens which are direct children of that node will be ignored. ![]() "ignoredNodes" can be used to disable indentation checking for any AST node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |