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
Absolute filePaths used in output #769
Comments
If the usecase is only GitHub problem matchers, we may create new formatter like
The current |
Of course, It is good that we think about relative path outputs options. Related ESLint Issue |
While the It looks like the absolute paths may be compatible with the default matchers available in Actions, but have potentially hit another issue (actions/toolkit#810), unrelated to Textlint. There are other cases where relative paths are useful so supporting that would be a wonderful feature. |
Yes, It is the best result. Probably, we need to pass some missing info like that is output-file path and 📝 tsuyoshicho/action-textlint provide another way for review comments on GitHub. |
What version of textlint are you using?
11.9.1
When running textlint, outputted results list absolute paths. Potential cause:
textlint/packages/textlint/src/util/find-util.ts
Lines 78 to 87 in 538b64e
This behaviour deviates from the common linting tools and breaks compatibility with some commonly useful tooling, such as default configurations for GitHub problem matchers.
If absolute paths are desirable in some use cases, providing a CLI option to toggle between this and their relative equivalents would be beneficial to reducing external tooling requirements.
The text was updated successfully, but these errors were encountered: