No multi spaces for object properties
See original GitHub issueHello there,
how can i let eslint allow this?:
constructor(config) {
this._rawData = null;
this._config = extend({}, this.getDefaultConfig(), config);
}
I already have VariableDeclarator
set to true in my eslintrc but this._config =
gives me the “no-multi-spaces” error.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
no-multi-spaces - ESLint - Pluggable JavaScript Linter
This rule aims to disallow multiple whitespace around logical expressions, conditional expressions, declarations, array elements, object properties, sequences ...
Read more >ESLint no-multi-spaces allow within object declaration
How do I configure the no-multi-spaces rule to allow the following: var arr = [ {id: 'abc', content: 'foo'}, {id: 'cdefgh', content: 'bar'}...
Read more >Rule no-multi-spaces - ESLint中文
To support this case, this rule accepts an options object with a property named exceptions . Excepted node types can be added as...
Read more >Can JavaScript Object Keys Have Spaces? | by Dr. Derek Austin
Here's the lowdown on object properties with spaces. “Lost Angeles”: Valid JS object key? Or not? (Photo by JOSHUA ...
Read more >Troubleshoot an object that is not syncing with Azure Active ...
Connector space object properties. If the Operations tab shows no errors, follow the connector space object from Active Directory to the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Docs about
no-multi-spaces
don’t mention this exception —AssignmentExpression
— but yes, it works.Can you try: