noMultiSpacesRule.md

December 14, 2016 ยท View on GitHub

no-multi-spaces (ESLint: no-multi-spaces)

rule_source test_source

disallow use of multiple spaces

Usage

"no-multi-spaces": [
    true,
    {
      "exceptions": { "PropertyAssignment": false, "OtherException": "true|false" }
    }
  ]

Note

The following are the exceptions available and their defaults

  • VariableDeclaration: false
  • PropertyAssignment: true
  • BinaryExpression: false