You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the linting part of this, the order in which the linters run is not important.
For formatting the code I'm thinking we should always run prettier first, if it's registered.
So you would basically configure @linterjs by installing the adapters that you're interested in and the adapters would run on all files they support and/or are configured to run on, via their respective config files.
Let's see how far we can get without a config file.
No
cli
repository yet, so opening it hereObviously a configuration file is required. I had a few ideas rattling in my head so I thought I'd jot down some examples.
Equivalent of
eslint-config-prettier
andtslint-config-prettier
:Equivalent of
prettier-eslint
andprettier-tslint
:Passing options to a linter:
Note that the resolution for names in
"use"
would be:resolve("@linter/" + name)
resolve("linter-" + name)
resolve(name)
The text was updated successfully, but these errors were encountered: