linter-rubocop icon indicating copy to clipboard operation
linter-rubocop copied to clipboard

feat: project specific configuration

Open vzamanillo opened this issue 5 years ago • 7 comments

Added project specific settings via .lrproject.jsonconfig file:

{
  "command": "/home/dev/.rvm/gems/ruby-2.5.5/bin/rubocop",
  "disableWhenNoConfigFile": true,
  "fixOnSave": true
}

vzamanillo avatar Apr 22 '20 18:04 vzamanillo

I am thinking in a project config file with almost the same configuration options of the config schema to simplify the rubocop initialization extracting the config file check to a method, and then, override the initial rubocop configuration before use it.

vzamanillo avatar Apr 22 '20 22:04 vzamanillo

I am thinking in a project config file with almost the same configuration options of the config schema to simplify the rubocop initialization extracting the config file check to a method, and then, override the initial rubocop configuration before use it.

Done.

vzamanillo avatar Apr 28 '20 18:04 vzamanillo

Pending to add some tests to check the project specific settings.

vzamanillo avatar Apr 28 '20 18:04 vzamanillo

Nice, thank you!

AlexWayfer avatar Apr 30 '20 00:04 AlexWayfer

Pending to add some tests to check the project specific settings.

I am so lazy about this.

vzamanillo avatar May 06 '20 08:05 vzamanillo

I am so lazy about this.

It's OK. But your work is very good and useful. Thank you again, you're great person. I guess, somebody can help if you don't want to add tests (I don't know how to auto-test Atom extensions and I'm pretty busy for learning it right now).

AlexWayfer avatar May 06 '20 10:05 AlexWayfer

I am so lazy about this.

It's OK. But your work is very good and useful. Thank you again, you're great person. I guess, somebody can help if you don't want to add tests (I don't know how to auto-test Atom extensions and I'm pretty busy for learning it right now).

Thank you, man.

vzamanillo avatar May 06 '20 10:05 vzamanillo