Skip to content

lint miclint#50

Merged
kesla merged 1 commit into
v5from
lint-miclint
Mar 9, 2017
Merged

lint miclint#50
kesla merged 1 commit into
v5from
lint-miclint

Conversation

@kesla

@kesla kesla commented Mar 7, 2017

Copy link
Copy Markdown
Contributor

We weren't actually following miclint in here. So let's lint our linter.

cc @danmakenoise @Roilan

@Roilan

Roilan commented Mar 7, 2017

Copy link
Copy Markdown
Contributor

I'd say we stick with var because if someone is using a node version that doesn't support it will cause issues.

@kesla

kesla commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

@Roilan I can add this to v5 if that's a concern.

@kesla

kesla commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

see #51

@kesla kesla changed the base branch from master to v5 March 7, 2017 20:18
@kesla

kesla commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

Let's do that - changed the base branch.

@kesla

kesla commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

well actually I'm pretty sure that eslint doesn't work in older nodes - so if you're on node 0.10 or 0.12 you're already in trouble.

@danmakenoise

danmakenoise commented Mar 9, 2017

Copy link
Copy Markdown
Contributor

@kesla @Roilan shouldn't be an issue since this linter won't be useful to you if you are in an environment that can't support const

@danmakenoise

Copy link
Copy Markdown
Contributor

@kesla we should set the node engine though, so that people get a warning if they try to install in an invalid environment.

@danmakenoise

Copy link
Copy Markdown
Contributor

@Roilan would restricting it to the node versions help solve this in your eyes?

@Roilan

Roilan commented Mar 9, 2017

Copy link
Copy Markdown
Contributor

@kesla @danmakenoise I'd say we add the node version warning. I've seen a couple modules default to const and becomes a debugging nightmare.

@orrybaram

Copy link
Copy Markdown

Can we start a changelog for miclint? Seems like we're constantly changing stuff and I feel like people (me) are out of the loop unless they;re actively checking in on all the PRs

@kesla

kesla commented Mar 9, 2017

Copy link
Copy Markdown
Contributor Author

@Roilan was that any time recently?

node 0.10 & 0.12 have been unsupported for months at this point. Node 0.10 reached EOL at 2016-10-31 while node 0.12 reached EOL at 2016-12-31.

So at this point none of the supported node version will have any problems w using const.

I can def add the engines field, but what I'm also trying to figure out is if I've seen a couple modules default to const and becomes a debugging nightmare. is something that belongs to the past or if it is still a problem.

@kesla

kesla commented Mar 9, 2017

Copy link
Copy Markdown
Contributor Author

@orrybaram sure, I'll add a changelog to #51

@kesla kesla merged commit 3fba5a1 into v5 Mar 9, 2017
@kesla kesla deleted the lint-miclint branch March 9, 2017 07:32
@orrybaram

Copy link
Copy Markdown

@kesla thanks! 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants