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
microsoft/TypeScript#15589 (comment) presented the idea to introduce a concept similar to DefinitelyTyped but for lint rules/configurations. That means libraries can provide a lint configuration that is automatically picked up when importing that library. There should also be a community project that maintains lint configurations for libraries that don't ship a config file.
When importing a package:
looks up wotanrc property in package.json of the imported package which is expected to point to a file containing a linter config
looks up .wotanrc.* file in the root directory of the imported package
looks up package @<TBD>/<packageName>
If a file is found, it is used as configuration file for the currently linted file. TBD: should it override the user-provided config or is it unshifted to the array of base configs?
TBD:
property name in package.json
expected file name in root directory of imported package
name of scope for custom configurations
precedence of config files
The text was updated successfully, but these errors were encountered:
microsoft/TypeScript#15589 (comment) presented the idea to introduce a concept similar to DefinitelyTyped but for lint rules/configurations. That means libraries can provide a lint configuration that is automatically picked up when importing that library. There should also be a community project that maintains lint configurations for libraries that don't ship a config file.
When importing a package:
wotanrc
property inpackage.json
of the imported package which is expected to point to a file containing a linter config.wotanrc.*
file in the root directory of the imported package@<TBD>/<packageName>
If a file is found, it is used as configuration file for the currently linted file. TBD: should it override the user-provided config or is it unshifted to the array of base configs?
TBD:
The text was updated successfully, but these errors were encountered: