-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Enable default config file when parsing similar to other linters #103
Comments
JSON support is mentioned in #95. However, the naming convention would be good to use to match other linters. We also need to decide on the default linting rules to be ran. I suppose we could adapt rules from jsHint and a few from jscs (such as line length), combine them, and use those. |
see related #195 for suppressing messages in the source. However, I like the idea of folder specific configs. |
tco. The file name is .cflintrc Examples:
or
|
note: only the xml version works in RC1. |
If possible add the ability to use a default config file when parsing the current directory and subdirectories. Ideally it would be able to look through the directory chain and find the file in the current directory or any directory above and apply it. Other linters such as eslint and jslint use files such as .eslintrc and .jslintrc, so this could be a .cflintrc file. The other linters use json format.
This would be helpful working on a project basis as different rules can apply to different projects.
This would be an enhancement. I hope I can figure out how to flag it appropriately.
The text was updated successfully, but these errors were encountered: