pinterest / arcanist-linters

A collection of custom Arcanist linters
Apache License 2.0
62 stars 45 forks source link

Make Pyright configuration file paths absolute #90

Closed steverice closed 2 years ago

steverice commented 2 years ago

To resolve issues with configuration files placed in non-standard locations outside the working tree, make these paths absolute relative to the arcanist project root.

This was the implicit behavior previously, so this should not be a breaking change.

Also change the format of command flags from '--project /path/to/foo.json' to '--project=/path/to/foo.json' to resolve issues with pyright's interpretation of them.