javascript - CodeKit - any way to ignore js? - Stack Overflow

TLDR: CodeKit validates my crappy dev js, and alerts when it inevitably finds an error. Can I turn this

TLDR: CodeKit validates my crappy dev js, and alerts when it inevitably finds an error. Can I turn this off until I'm ready to polish in production?


This might technically be a question for superuser, but since it has explicit code and site layout implications, I thought it might be better suited here.

Been using CodeKit to pile my LESS sheets and press my site images. CodeKit is insisting on validating the js it finds too - I'm still in development, so it inevitably finds an error and alerts on every single damn save. This is desired when I'm in production, but that's still a few weeks away. Is there any way to prevent js validation temporarily? Somehow toggle js validation? I tried turning off all the minifiers and uglifyers, but it still runs some base set of minifications.

I'd rather consider changing the environment structure as a last resort. All my site's media is contained in a /ui/ directory:

ui [watched]
-css
-images
-js
-less [pile to ../css]

In order to merely avoid watching /ui/js/, I would have to make these changes:

ui
-css [watched]
--less [pile to ../]
-images [watched]
-js

I'd have to watch two folders separately, change the site structure, and alter the pilation path - IMHO, this defeats the elegance of CodeKit, especially since I'd have to undo it when I reach prod.

TLDR: CodeKit validates my crappy dev js, and alerts when it inevitably finds an error. Can I turn this off until I'm ready to polish in production?


This might technically be a question for superuser, but since it has explicit code and site layout implications, I thought it might be better suited here.

Been using CodeKit to pile my LESS sheets and press my site images. CodeKit is insisting on validating the js it finds too - I'm still in development, so it inevitably finds an error and alerts on every single damn save. This is desired when I'm in production, but that's still a few weeks away. Is there any way to prevent js validation temporarily? Somehow toggle js validation? I tried turning off all the minifiers and uglifyers, but it still runs some base set of minifications.

I'd rather consider changing the environment structure as a last resort. All my site's media is contained in a /ui/ directory:

ui [watched]
-css
-images
-js
-less [pile to ../css]

In order to merely avoid watching /ui/js/, I would have to make these changes:

ui
-css [watched]
--less [pile to ../]
-images [watched]
-js

I'd have to watch two folders separately, change the site structure, and alter the pilation path - IMHO, this defeats the elegance of CodeKit, especially since I'd have to undo it when I reach prod.

Share Improve this question edited Apr 24, 2013 at 15:27 Patrick McElhaney 59.4k41 gold badges137 silver badges170 bronze badges asked Apr 24, 2013 at 15:24 CodeMooseCodeMoose 3,0254 gold badges33 silver badges57 bronze badges 5
  • You should polish your code in dev too. – SLaks Commented Apr 24, 2013 at 15:26
  • 2 Just ditch CodeKit and use a text editor like a boss. – MaxArt Commented Apr 24, 2013 at 15:29
  • 6 @MaxArt CodeKit's not an IDE, boss. – Patrick McElhaney Commented Apr 24, 2013 at 15:32
  • Lol @MaxArt. That's my usual - my teammate started this project on LESS so there's no going back. – CodeMoose Commented Apr 24, 2013 at 15:35
  • @SLaks I do optimize in dev, but my practices aren't nearly as strict as JSLint's standards. I find it's faster to market if I rip out code then go back and standardize. – CodeMoose Commented Apr 24, 2013 at 15:39
Add a ment  | 

1 Answer 1

Reset to default 7

You can set it to not be piled automatically:

or you can stop it from bringing CodeKit to the front on error:

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742345632a4426485.html

相关推荐

  • javascript - CodeKit - any way to ignore js? - Stack Overflow

    TLDR: CodeKit validates my crappy dev js, and alerts when it inevitably finds an error. Can I turn this

    7小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信