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 upRelease proposal: standard v6 #399
Comments
feross
added
the
v6
label
Feb 4, 2016
This comment has been minimized.
This comment has been minimized.
|
\o/ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Merged the |
This comment has been minimized.
This comment has been minimized.
|
Going to try to get a beta release out on npm tomorrow. |
This comment has been minimized.
This comment has been minimized.
|
Changelog here: https://github.com/feross/standard/blob/master/CHANGELOG.md#600---2016-02-05 |
feross
closed this
Feb 6, 2016
This comment has been minimized.
This comment has been minimized.
|
Standard is by far one of my favorite projects and I think it has really helped to improve the code quality in the JavaScript ecosystem. @feross I thank you for all of your hard work put into it. With that being said, I'm concerned that enabling standard to be configurable https://github.com/feross/standard/blob/master/CHANGELOG.md#expose-eslint-configuration-via-command-line-options-and-packagejson was a mistake. See https://github.com/feross/standard#can-you-make-rule-x-configurable:
I understand that we as developers need to evolve projects, take risks, listen to feedback, and iterate. However, this change feels antithetical to what standard stood for and what made it great. It seems entirely possible that I'm misunderstanding these changes or the importance of these changes and what they entail. My fear now is that I'll open up a @feross I respect and understand that I will definitely upgrade to Standard v6, continue to use and promote Standard, I just wanted to share this perspective. Thanks again for your hard work on this! |
This comment has been minimized.
This comment has been minimized.
|
Crap, I fully missed this - I was moving cities the last couple of days and somewhere this slipped. I agree with @jprichardson, I feel like this can be, and thus will be abused fully {
"standard": {
"rules": {
"semi": [2, "always"]
}
}
}If someone does the above, then saying that a project uses I kind of like being grumpy old farts that curate the one way to do things and if you don't like it shoo and configure your own. This doesn't feel right to me. |
This comment has been minimized.
This comment has been minimized.
|
agree with last two comments. leave it up to other modules to add On Saturday, February 6, 2016, Yoshua Wuyts notifications@github.com
Sent from my phone |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the feedback guys. Better late than never, I suppose. This whole thing got me thinking about why people like
I originally made Adding a way for the super-obsessed to set an eslint plugin for whatever flavor-of-the-week JS thing they're using doesn't really affect my use case (reason 1). But it definitely affects reason 2, and makes "this project uses standard" mean way less. And that's not cool. I think ya'll are right. I done flubbed it up. There were issues about this in #386, #367, and #371, for So, just to recap. The reason for adding The reason for adding The reason for adding So, I'm |
This comment has been minimized.
This comment has been minimized.
|
Could folks please chime in with feedback on the standard v7 release proposal: #404 |
This comment has been minimized.
This comment has been minimized.
|
IMHO a release that removes But otherwise amazing work on pumping out |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
jescalan
commented
Feb 8, 2016
|
+1 for keeping |
This comment has been minimized.
This comment has been minimized.
|
sounds cool. if anyone disagrees, they're always free to drop down to eslint + eslint-config-standard. |
This comment has been minimized.
This comment has been minimized.
At which point, the intention is clear as day and they're not using |
This comment has been minimized.
This comment has been minimized.
jmalonzo
commented
Feb 12, 2016
|
I just want to chime in this quickly as I've recently switched our project to Standard. I believe Standard is great if you are starting a project from scratch. But moving an existing codebase to it, it gets daunting as you will instantly get thousands of errors from the get go. Nobody wants to spend their days/weeks fixing lint errors (and nobody wants to fix these errors blindly either). This is where rules/globals/env really help as it helped me move from one class of errors to another one and making small wins in the process. Also, some of Standard's defaults are debatable within a team setting (e.g. semi and indentation level) and something that probably would slow a team down if introduced straightaway without some discussion. Again this is where 'rules' help as I can introduce these features slowly over time to the team without any friction or useless debates about style. I hope that sheds some light on some of the use-cases of rules, at least. globals - not everyone uses a module bundler and not all projects are in the npm registry, so globals help there. Cheers. |
This comment has been minimized.
This comment has been minimized.
HenrikJoreteg
commented
Feb 12, 2016
|
I'm with @rstacruz on this keep standard strict. You can always customize with eslint + eslint-config-standard if you want a non-standard, standard (see how silly that sounds Anyway, all the good feels: https://twitter.com/HenrikJoreteg/status/697294740480352256 |
feross commentedFeb 4, 2016
The goal of this release is to make
standardfaster to install, and simpler to use.standard-format(#340) (#397)standardno longer assumes that JSX === React, so users can use alternatives likevirtual-domordeku.eslint-config-standard-jsxinstead ofeslint-config-standard-reactnow.package.json"standard" property__dirname/__filenamestring concatenation (#403) (no-path-concat) [5%]new Promise()is instantiated with the parameter namesresolve,reject(#282) (promise/param-names) [1%]*inyield * something(#335) (yield-star-spacing) [0%]parseInt()radix rule because ES5 fixes this issue (#384) (radix) [0%]no-return-assignbehavior changed with arrow functions (eslint/eslint#5150) - RELEASED ANYWAY, NOTED UNDER "KNOWN ISSUES"