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

Add the array-bracket-spacing rule #131

Merged
merged 1 commit into from Jul 5, 2019
Merged

Add the array-bracket-spacing rule #131

merged 1 commit into from Jul 5, 2019

Conversation

flippidippi
Copy link
Contributor

Per discussion here
standard/standard#609 (comment) and issue here standard/standard#1203, add "array-bracket-spacing" rule set to "never".

@flippidippi
Copy link
Contributor Author

Anyone want to approve the merge request? Simple change that was already approved in the issues.

@justinkalland
Copy link
Contributor

justinkalland commented Dec 27, 2018

Running this on the ecosystem causes 28 to fail. I also had to --fix on Standard itself to get tests to pass.

{
  "extends": ["standard", "standard-jsx"],
  "rules": {
    "array-bracket-spacing": ["error", "never"]
  }
}

1..186
# tests 186
# pass  158
# fail  28

Here are the failing repos:

@flippidippi
Copy link
Contributor Author

So what are the next steps? Is that a reasonable amount? Would obviously need a breaking version bump.

@justinkalland
Copy link
Contributor

I am a newer contributor here. But from what I have seen the next step is having consensus to include this addition. It appears consensus is achieved by input from the community with the final decision by the maintainers. I love Standard but would like to see a better process for proposing and adopting changes within the community. It is something I have been thinking about and planned on bringing up in the main repo. And to me it is necessary for Standard to reach its full potential as the standard.

@LinusU
Copy link
Member

LinusU commented Jan 8, 2019

I love Standard but would like to see a better process for proposing and adopting changes within the community. It is something I have been thinking about and planned on bringing up in the main repo. And to me it is necessary for Standard to reach its full potential as the standard.

Agreed 👍, we should also formalize the release process as well!

Here are the failing repos:

I've updated testdata-w3c-json-form so that should pass now...

It seems like a lot of the packages are maintained by @feross, so it would be great if he could weigh in on what he thinks about the rule. If he is 👍 then I think we should start sending pull requests to failing repos, and then merging this (e.g. like in #124)

@LinusU LinusU mentioned this pull request Jan 22, 2019
24 tasks
@feross
Copy link
Member

feross commented Jul 5, 2019

This change will be included in standard 13.

I updated all the packages I have push access to, but there still remain several packages that need an update. It would be great if those who are interested in this change on this thread could send PRs to these repos! (In the meantime, I disabled the tests against these repos which is not ideal)

@feross feross merged commit 573a6b1 into standard:master Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants