Closed ShashankaNataraj closed 5 years ago
@arthurvr @grayghostvisuals @benschwarz @WellingGuzman Please review :8ball:
@arthurvr @grayghostvisuals @benschwarz @WellingGuzman Please review :8ball:
No real need for such comments. We're all busy and will try to get to this as soon as possible.
@arthurvr no offense intended with the mention. Will make changes.
Heres a new checklist of action after review
jshint:{
and jscs:{
require spaces after the colongrunt.registerTask('quality', ['jshint:all', 'jscs:all']);
is missing spacesjscs
and jshint
can be removed from packages.json as only the grunt tasks are requiredAlso please squash your commits.
Should we consider dropping the current JavaScript style guide and going with an already-existing style guide? It's something else we don't have to maintain and honestly ours is pretty ugly and incomplete. Now is the right time to discuss it.
We also need a Travis CI badge in the readme.
@arthurvr I guess the Travis CI Badge can only be added by one of the core contributors on h5bp, since if anyone else adds it itll point to their builds.
I will wait for further discussions before proceeding further regarding the code style.
I guess the Travis CI Badge can only be added by one of the core contributors on h5bp, since if anyone else adds it itll point to their builds.
No, you can perfectly just edit the link address to point to our repo :p
ok :) will do. In general isn't jQuery's coding style considered pretty mature?
In general isn't jQuery's coding style considered pretty mature?
Define "mature"?
jQuery's code style guide is pretty ugly in my opinion but it's to the @h5bp/effeckt-css team to decide this.
mature is generally accepted and followed widely?
We can reestablish the code guideline, there's probably are some not common things there, since I wrote what I've used by that time as the guideline.
Please you should squash those commits, Getting-Started Wiki so that way would be easier to git bisect, or track changes.
@WellingGuzman Will squash my commits when I get time later today :)
We can reestablish the code guideline, there's probably are some not common things there, since I wrote what I've used by that time as the guideline.
Yeah, we should really revision it.
Can we revision the code guideline first and then revise this PR with changes? Because it looks like efforts on this PR will not be complete without the code guidelines being revised.
Can we revision the code guideline first and then revise this PR with changes? Because it looks like efforts on this PR will not be complete without the code guidelines being revised.
We can always land the grunt configs and discussion revision of the style guide later on.
ok I will be doing the grunt and the JSCS config first and raising a PR.
@ShashankaNataraj Is this ever going to be completed ?
@Romainpetit Don't think so my friend. I lost interest in this a long time back
@ShashankaNataraj What needs to be completed , I be happy to work on this ?
@naeluh @Romainpetit Snarky comments from the maintainers of this project put me off from completing this PR. Now, Im going to unsubscribe from this thread and let this PR rot.
Aidos.
This PR fixes https://github.com/h5bp/Effeckt.css/issues/314
curly:true
"validateIndentation": 2
requireSpacesInAnonymousFunctionExpression,requireSpacesInCallExpression,requireSpacesInConditionalExpression,requireSpacesInForStatement,requireSpacesInFunctionDeclaration,requireSpacesInFunctionExpression,requireSpacesInFunction,requireSpacesInNamedFunctionExpression
"requireSpaceAfterObjectKeys": true
"requireSpacesInsideParentheses":"all","requireSpacesInsideArrayBrackets": "all"
"requireSpaceAfterBinaryOperators":["="],"requireSpaceBeforeBinaryOperators":["="]
"disallowSpaceAfterPrefixUnaryOperators":["++", "--", "+", "-", "~", "!"]
"validateParameterSeparator":", "
"requireMultipleVarDecl":true
"requireMultipleVarDecl":true
"requireSemicolons":true
("requireSpaceAfterLineComment":true)
"disallowSpaceAfterBinaryOperators":[","],
requireDollarBeforejQueryAssignment:true
"disallowMixedSpacesAndTabs": true
"disallowMultipleSpaces":true
"disallowTrailingComma":true
"requireLineFeedAtFileEnd":true
Style guidelines which do not have jshint / jscsc equivalents: