Comments (14)
Hello.
I will be glad to receive a good pull-request on this.
from node-jscs.
@Druotic, are you still interested in implementing this? If not, I can do it. Please let me know. I'll wait a few days for your answer, and assume you're not if I get no response.
from node-jscs.
@mikesherov Sorry for the late repsonse. I plan to implement it eventually, but it will be some time...possible a couple of weeks from now due to various life events :( If you have time to (or already have) implemented this, be sure to mention this issue so it can be closed. Otherwise, I'll get around to it eventually.
from node-jscs.
@Druotic, still interested?
from node-jscs.
Wow, I had completely forgotten about this... At this point, probably not. But, if I change my mind, I'll just check back and see if anyone has added it yet.
from node-jscs.
+1
from node-jscs.
This issue has been open more than a month without supported PR for it.
Unfortunately, we don't have the resources to implement rules that could not be included in any of the supported presets (if it could be, please point that out).
However, if you or anybody else submit PR for it, we will gladly consider it.
from node-jscs.
@markelog This would be a rule to enable in the Wikimedia preset. We currently enforce this rule by convention only. I'd love for JSCS to enforce it.
from node-jscs.
👍 To quote my colleges "How is this not supported yet". I guess people who write multiple var declarations don't overlap that much with people who like to use linters, or write linters anyway. Anyways glad I found something, anything on this topic.
from node-jscs.
Any preference for the rule name, I will try to take a look into this.
If anyone has any idea about an existing rule that can act as a start it will be a time saver.
Or else I would dig into the existing rules for implementation.
from node-jscs.
Think I found the requireMultipleVarDecl that might be applicable for this. I am thinking about names like requireVarDeclAtTop with the only option value of true unless someone else has better suggestions.
from node-jscs.
requireVarDeclFirst sounds closer to the rule's logic.
On Jul 6, 2015 3:50 AM, "oredi" [email protected] wrote:
Think I found the requireMultipleVarDecl that might be applicable for
this. I am thinking about names like requireVarDeclAtTop with the only
option value of true unless someone else has better suggestions.—
Reply to this email directly or view it on GitHub
#99 (comment).
from node-jscs.
Check this out - #807
from node-jscs.
@mrjoelkemp and @markelog Thanks I will use that and and look into that sample implementation.
from node-jscs.
Related Issues (20)
- jscs exlucdeFiles not Work! HOT 1
- Should have exception for disallowSpacesInFunction for anonymous generators HOT 1
- not possible to include extensions with multiple "." characters HOT 7
- Error running rule requirePaddingNewLinesBeforeLineComments HOT 1
- not possible to ignore '.js' files with fileExtensions #2273
- Destructuring with default values in parameters throws an error. HOT 1
- Cannot find module 'babel-runtime/core-js/object/keys' HOT 8
- Error: Symbol is not defined (first character of file) HOT 3
- Add `templateStrings` as an option for the `allExcept` property of the `maximumLineLength` rule HOT 2
- requireSpaceBeforeDestructuredValues does not work in vanilla JS HOT 3
- maximumLineLength should optionally allow string literals to break the rule HOT 2
- validateIndentation should enforce endbrace at the same indentation as the line containing it's corresponding startbrace HOT 2
- Error running rule requireDollarBeforejQueryAssignment HOT 3
- JSCS goes into infinite loop HOT 2
- About jsx curly braces variable HOT 1
- JSCS crashes due to decorators HOT 1
- requireSpaceBetweenArguments doesn't work in constructor of es6. HOT 4
- How to write a rule which makes "case" align to "switch" in switch statement? HOT 1
- jscs.info offline HOT 3
- Disabling Specific Rules For a Single Line not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-jscs.