Closed alexander-akait closed 8 years ago
Is there a special need for this kind of configuration? Why not use the .editorconfig?
PR is welcome! ;-)
@schorfES not all options can settable in .editorconfig. Also all popular utilities for lintint support .*rc config file
Ah okay... You're right. An integration into lintint would also be nice!
I'll try to create an implementation as soon as possible. The settings load process would look like this if both files are configured:
.lintspacesrc
.editorconfig
The reason for this is that the editorconfig can contain different settings depending on filetypes and I think this file is more relevant. So editorconfig can overwrite loaded settings from the lintspacesrc. In a second step we can think about the filetype settings into the rc as well...
What do you think?
@schorfES i think it is correctly
I've added a feature branch "feature/rc-integration " for this. @evilebottnawi please try if the new option rcconfig
fits for your purposes.
You may also take a look into the changes 6257a5a7ceea5ab016a1141c6b5b5362b0247a34 and 368812d2c13908c67909982e3ef18d43bde05d0f (Documentation)
If they are okay, i'll merge and release them as soon as possible.
@schorfES sounds good, all perfectly, thanks
Are there any docs on what .lintspacesrc
is, and how to use it? It sounds like something that might be useful to me. I'm having trouble getting the .editorconfig
file working with node-lintspaces anyway.
Add a small example configuration into the documentation. I will release this feature in the upcoming week.
Published a new version 0.4.0 of lintspaces and also a new version of grunt-lintspaces at 0.7.2 at npm.
@AlbertoElias please update gulp-lintspaces.
@evanshortiss please update the cli including a new flag for the .rcconfig .lintspacesrc
Thanks in advance to @AlbertoElias and @evanshortiss!!!
https://github.com/dominictarr/rc