proton

https://github.com/dvcrn/proton
dvcrn 2016-08-05T01:21:22.000124Z

@gabe: like you would in normal atom. Just put the configuration strings inside .proton instead of atom config and just active the linters layer

gabe 2016-08-05T02:59:20.000126Z

@dvcrn the README for linter-tslint shows configuration:

'linter-tslint':
  # Custom rules directory (absolute path)
  rulesDirectory: "/path/to/rules”

gabe 2016-08-05T03:00:29.000128Z

I’ve got this in my .proton file:

["linter-tslint" {"rulesDirectory” “/path/to/rules"}]

gabe 2016-08-05T03:00:39.000129Z

under configuration

dvcrn 2016-08-05T03:01:15.000130Z

Ah yeah that is not well documented, apologies. That would be

["linter-tslint.rulesDirectory" "/path/to/rules"]

gabe 2016-08-05T03:01:45.000131Z

great. thx!

dvcrn 2016-08-05T03:01:53.000132Z

let me know if it worked!

gabe 2016-08-05T03:20:43.000133Z

@dvcrn: i think that was the wrong configuration option

gabe 2016-08-05T03:21:03.000134Z

do i just add a dot for every level of object nesting?

gabe 2016-08-05T03:29:05.000135Z

turns out there was no config for what i wanted. i ended up just putting the config in my project directory

gabe 2016-08-05T03:29:15.000136Z

thanks for your help @dvcrn

dvcrn 2016-08-05T03:29:30.000137Z

correct, just a dot for every level until the last object. clojurescript datatypes will get parsed into javascript ones

dvcrn 2016-08-05T03:29:41.000138Z

what do you mean with "turns out there was no config for what I wanted"?

gabe 2016-08-05T03:29:57.000139Z

I was trying to specify a global tslint.json file

gabe 2016-08-05T03:30:25.000140Z

linter-tslint doesn’t have that option

dvcrn 2016-08-05T03:30:54.000141Z

oh I see

gabe 2016-08-05T03:30:56.000142Z

nor can you configure the linter in config.cson/.proton

dvcrn 2016-08-05T03:31:07.000143Z

ok got it, thanks for clarifying

gabe 2016-08-05T03:31:09.000144Z

everything’s working now though

gabe 2016-08-05T03:31:10.000145Z

thx

geksilla 2016-08-05T07:35:37.000146Z

Hi @dvcrn, I was trying to repro error from https://github.com/dvcrn/proton/pull/222

geksilla 2016-08-05T07:35:52.000148Z

can you put STR for this one?

geksilla 2016-08-05T07:36:34.000149Z

I was trying to reproduce this but didn't hit this error

dvcrn 2016-08-05T07:44:42.000150Z

STR?

dvcrn 2016-08-05T07:45:03.000151Z

Let me see if I can reproduce it again. I just pulled your code, compiled with dev and this happened

geksilla 2016-08-05T07:48:54.000152Z

nevermind, just reproduced it

geksilla 2016-08-05T07:49:31.000153Z

I turned on wipe configurations and got this error

geksilla 2016-08-05T07:50:26.000154Z

will fix it soon. Thanks

geksilla 2016-08-05T07:51:11.000155Z

atom 1.9 is pretty nice. I like performance improvements, so switched back to atom )

geksilla 2016-08-05T08:04:28.000156Z

btw I hit issue with build/dev-repl, something wrong with namespaces errors like

Uncaught Error: goog.require could not find: proton.lib.helpers
Uncaught Error: goog.require could not find: proton.layers.base
etc.

geksilla 2016-08-05T08:05:59.000158Z

after shadow build update to 1.0.215 dev-repl works fine

dvcrn 2016-08-05T08:06:52.000159Z

There are too many editors these days. Atom has the best ecosystem but is tooooooo sloooooooow

dvcrn 2016-08-05T08:07:22.000160Z

I started playing with sublime again and it's so fast. I even ported some very tiny things from proton back to it

geksilla 2016-08-05T08:08:53.000164Z

cool

dvcrn 2016-08-05T08:09:11.000165Z

But mainly keep jumping between atom and vim 😛

geksilla 2016-08-05T08:09:12.000166Z

looks very nice