Skip to content

有一个地方不解. #11

@xrr2016

Description

@xrr2016
// no space before '(', one space before '{', one space between function parameters

var doSomething = function(a, b, c) {
    // do something
};

我用standard语法检测插件会提示这样, 要求function名称后面加一个空格.

js-standard Warning Missing space before function parentheses.

虽然我更喜欢不带空格的语法, 问如何关闭着个提示?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions