-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: fecs support for js/html/css lint and format #2394
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I finally had a chance to look at this. Looks pretty good to me. Add some tests for the linter and fixer commands. See :help ale-tests
and existing test files. You will probably have to configure the fixer to use something executable to get the command out in tests.
doc/ale.txt
Outdated
@@ -49,6 +49,7 @@ ALE supports the following key features for linting: | |||
6. Using |echo| to show error messages when the cursor moves. | |||
7. Setting syntax highlights for errors. | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the blank line here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
`fecs` is a lint tool for HTML/CSS/JavaScript, see http://fecs.baidu.com for more options.
Along with |
Cheers! 🍻 |
FECS is a lint tool for checking and fixing HTML/CSS/JavaScript code styles. I've been using the modified version locally, it works just fine. But I find that the ale-dev doc says:
I would like to make it public. It's widely used here, hope the following links helpful:
Github: https://github.com/ecomfe/fecs
Wiki: https://github.com/ecomfe/fecs/wiki/CLI
I passed the tests locally but there's some warnings for the document checking, but it seems not related. BTW, thank you guys for this great repo, I migrate from syntastic with no regret.