Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`object-curly-spacing` errors #1192

Closed
noygal opened this issue Sep 2, 2018 · 1 comment

Comments

@noygal
Copy link

commented Sep 2, 2018

Hi, just upgraded to 12.0.1 and I'm getting an errors, the eslint shows object-curly-spacing errors (via eslint-config-standard plugin).

index.js

console.log({a: 1})

Running version 11.0.1 produce no errors but on 12.0.1 I'm getting:

$ npx standard@12.0.1 index.js
npx: installed 207 in 3.896s
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
  /Users/gal/dev/profile-admin-server/index.js:1:13: A space is required after '{'.
  /Users/gal/dev/profile-admin-server/index.js:1:18: A space is required before '}'.

Is there been any standard specs updates that I've missed or does it related to eslint?

What version of standard?
12.0.1

What operating system, Node.js, and npm version?
Latest stable MacOS, node v8.11.1, npm 5.6.0

What did you expect to happen?
Not to display Errors

What actually happened?
I'm getting object-curly-spacing error from eslint

@LinusU

This comment has been minimized.

Copy link
Member

commented Sep 2, 2018

Is there been any standard specs updates that I've missed

Yes, we now enforce curly spacing. See discussion here: #609 (comment)

@LinusU LinusU closed this Sep 2, 2018

@lock lock bot locked as resolved and limited conversation to collaborators Dec 1, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.