Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upExpected "[" and "]" to be on the same line (standard/computed-property-even-spacing) #226
Comments
This comment has been minimized.
This comment has been minimized.
|
Sorry, I should have dug around in the proper repo! standard/eslint-plugin-standard#3 |
This comment has been minimized.
This comment has been minimized.
|
Close? |
This comment has been minimized.
This comment has been minimized.
|
This is fixed in standard 5.1.0. |
feross
closed this
Aug 14, 2015
This comment has been minimized.
This comment has been minimized.
davidmarkclements
commented
Jan 4, 2016
|
seems to have returned in 5.4.1: MacBook-Pro:src davidclements$ standard --version
5.4.1
MacBook-Pro:src davidclements$ standard components/Settings/index.js
standard: Use JavaScript Standard Style (https://github.com/feross/standard)
/Users/davidclements/z/nearForm/terminal-devtools/src/components/Settings/index.js:17:3: Expected "[" and "]" to be on the same line14 const settings = {
15 border: null,
16 padding: {left: 1, right: 1},
17 ...bg
18 } |
This comment has been minimized.
This comment has been minimized.
|
@davidmarkclements Sorry, I can't reproduce your issue with |
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
jprichardson commentedAug 8, 2015
Using
standard@4.5.4in conjunction withbabel-eslint@4.0.5there is no error in the following code:However, upgrading to
standard@5.0.2an error is thrown:Potentially a bug in https://github.com/xjamundx/eslint-plugin-standard/tree/master or is this expected behavior?