yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

Linters settings #48

Closed Janther closed 10 years ago

Janther commented 10 years ago

It would be nice to be able to control each linter configuration like max_line_length on atom-lint's config file.

It would also be nice to have this configuration on the package settings view (only with valid options).

jeffkamo commented 10 years ago

+1

I want SCSS-Lint to utilize the .yml file I have for my linting rules. How do I point Atom Lint to use that?

d4be4st commented 10 years ago

+1

yujinakayama commented 10 years ago

I'm not sure it's worth, and also it's difficult.

yujinakayama commented 10 years ago

@jeffkamo Doesn't SCSS-Lint automatically pick up your configuration file?

https://github.com/causes/scss-lint#configuration

scss-lint will automatically recognize and load any file with the name .scss-lint.yml as a configuration file. It loads the configuration based on the location of the file being linted, starting from that file's directory and ascending until a configuration file is found.

jeffkamo commented 10 years ago

Hmm, seems to be working now. I must not have set it up properly before...

Either way, as you mentioned: putting my custom .scss-lit.yml file in my styles directory, atom-lint appears to recognize that it's present and lints my scss correctly.

Thanks!