bdkjones / CodeKit2

CodeKit 2 Beta
97 stars 4 forks source link

JSHint config with jshintrc #82

Open gAmUssA opened 10 years ago

gAmUssA commented 10 years ago

Hi CodeKit team,

Does JSHint in CK2 support .jshintrc configuration (http://www.jshint.com/docs/ «Configuration» section) files? I have different set of rules for JSHint in different directories and I was wondering if CK2 can feed this configs to JSHint.

Thanks

bdkjones commented 10 years ago

CodeKit does not currently support .jshintrc files. I'll add this to the feature request list.

bdkjones commented 10 years ago

I've decided to close feature request issues on the beta repo. The reason is that I have to get this app shipped and that means locking the feature set so I can concentrate on killing bugs.

Once the app goes public, I'll take feature requests again and start implementing them for the 2.x releases.

aaronadamsCA commented 10 years ago

Can I +1 this feature request now, maybe get it reopened?

chodorowicz commented 10 years ago

+1

Andreyco commented 9 years ago

Waiting for this as well. Thank you!

calvinjuarez commented 9 years ago

+1

seanCodes commented 9 years ago

:+1:

balavec commented 9 years ago

+1

jaimeeee commented 9 years ago

+1

michaelprescott commented 9 years ago

+1

seanCodes commented 9 years ago

An option to not only read but write to a .jshintrc file as well would be really nice.

calvinjuarez commented 9 years ago

Very +1 for @seanCodes' suggestion.

fbracht commented 9 years ago

+1

While I'm here: would this be the only way to get rid of "Use '===' to compare with '0'." syntax issue thrown by JSHint on CodeKit? (Without changing the code, obviously.) By googling, this was the only instruction I've found: https://github.com/madskristensen/WebEssentials2013/issues/775

bdkjones commented 9 years ago

JSHint allows you to supply in-line rules at various points in your JavaScript. You can use those to get around this warning, for now.

On 25 Sep 2015, at 18:41, fbracht notifications@github.com wrote:

+1

While I'm here: would this be the only way to get rid of "Use '===' to compare with '0'." syntax issue thrown by JSHint on CodeKit? (Without changing the code, obviously.) By googling, this was the only instruction I've found: madskristensen/WebEssentials2013#775 https://github.com/madskristensen/WebEssentials2013/issues/775 — Reply to this email directly or view it on GitHub https://github.com/bdkjones/CodeKit/issues/82#issuecomment-143389947.

dmitrychuba commented 8 years ago

+1

ginader commented 7 years ago

+1 any updates on this?

bdkjones commented 7 years ago

Yea, the gist is this: "It's time to move to ESLint."

The JSHint team has specifically rejected support for ES2015, which puts them behind the times. At this point, you should have already moved to ESLint, which is baked into CodeKit 3 with support for .eslintrc files.