CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

JSHint config with jshintrc

Open gAmUssA opened this issue 11 years ago • 17 comments

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

gAmUssA avatar Dec 22 '13 04:12 gAmUssA

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

bdkjones avatar Dec 27 '13 23:12 bdkjones

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.

bdkjones avatar Jan 07 '14 02:01 bdkjones

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

aaronadamsCA avatar Jun 03 '14 17:06 aaronadamsCA

+1

chodorowicz avatar Aug 25 '14 16:08 chodorowicz

Waiting for this as well. Thank you!

Andreyco avatar Mar 03 '15 17:03 Andreyco

+1

calvinjuarez avatar Mar 04 '15 00:03 calvinjuarez

:+1:

seanCodes avatar Mar 04 '15 01:03 seanCodes

+1

balavec avatar Mar 20 '15 16:03 balavec

+1

jaimeeee avatar May 21 '15 23:05 jaimeeee

+1

michaelprescott avatar Jun 02 '15 03:06 michaelprescott

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

seanCodes avatar Sep 13 '15 04:09 seanCodes

Very +1 for @seanCodes' suggestion.

calvinjuarez avatar Sep 22 '15 20:09 calvinjuarez

+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

fbracht avatar Sep 26 '15 01:09 fbracht

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 [email protected] 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.

bdkjones avatar Sep 26 '15 03:09 bdkjones

+1

dmitrychuba avatar Apr 22 '16 23:04 dmitrychuba

+1 any updates on this?

ginader avatar Apr 18 '17 00:04 ginader

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.

bdkjones avatar Apr 18 '17 00:04 bdkjones