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
You can generate failures based on the filename if you want.
It would be nice to have this in textlint. The use case would be to write a rule that verifies files are in a correct spot. For example, I have a rule that verifies a CODEOWNERS file is not malformed, but I also want the rule to verify all the files are in an expected spot in a monorepo.
The text was updated successfully, but these errors were encountered:
This is a feature I've used in ESLint before, and is something I'm looking to use in textlint. For example in ESLint, here is how it is used:
https://github.com/kellyselden/eslint-plugin-json-files/blob/v2.1.0/tests/lib/rules/ensure-repository-directory.js#L11
https://github.com/kellyselden/eslint-plugin-json-files/blob/v2.1.0/lib/rules/ensure-repository-directory.js#L15
You can generate failures based on the filename if you want.
It would be nice to have this in textlint. The use case would be to write a rule that verifies files are in a correct spot. For example, I have a rule that verifies a CODEOWNERS file is not malformed, but I also want the rule to verify all the files are in an expected spot in a monorepo.
The text was updated successfully, but these errors were encountered: