-
Notifications
You must be signed in to change notification settings - Fork 6
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
Is there a way to specify rulePaths based on the path of textlint.json? #31
Comments
Thanks for report. Does |
Yes! |
textlint-rule-prh treat For example is project-2.
and Put following config to {
"rules": {
"prh": {
"rulePaths": [
"./prh-rules/foo.yml"
]
}
}
} textlint-rule-prh treat I've tried to reproduce this issue. Can you write following results?
|
I used Thank you for your kindness! |
I want to share textlint configuration with multiple projects using git-subtree.
But configuration directory (subtree prefix) is not the same across all projects.
For example, there is following
textlint-config
repository.And the following projects, which share the configuration using git-subtree.
In the project-1
rulePaths
must to be set asconfig/prh-rules/foo.yml
,but in the project-2 this have to be
docs/config/prh-riles/foo.yml
.Any suggestions?
Thanks.
The text was updated successfully, but these errors were encountered: