https://github.com/textlint-rule/textlint-rule-no-start-duplicated-conjunction
textlint rule that check no start with duplicated conjunction.
https://github.com/textlint-rule/textlint-rule-no-start-duplicated-conjunction
Last synced: 8 months ago
JSON representation
textlint rule that check no start with duplicated conjunction.
- Host: GitHub
- URL: https://github.com/textlint-rule/textlint-rule-no-start-duplicated-conjunction
- Owner: textlint-rule
- License: mit
- Created: 2015-09-09T12:15:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T11:48:28.000Z (over 3 years ago)
- Last Synced: 2025-04-23T01:16:13.767Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# textlint-rule-no-start-duplicated-conjunction [](https://travis-ci.org/textlint-rule/textlint-rule-no-start-duplicated-conjunction)
[textlint](https://github.com/textlint-rule/textlint "textlint") rule that check no start with duplicated conjunction.
## Installation
npm install textlint-rule-no-start-duplicated-conjunction
## Usage
npm install -g textlint textlint-rule-no-start-duplicated-conjunction
textlint --rule no-start-duplicated-conjunction README.md
## Config
```json5
{
"rules": {
"no-start-duplicated-conjunction": {
"interval" : 2 // interval of sentences
}
}
}
```
## Example
```
But, A is ~.
So, A is ~.
But, A is ~.
```
(interval<=2)
This rule report Error => "don't repeat "But" in 2 phrases"
### Exception
Ignore following link nodes:
```markdown
[import, a.js](a.js)
[import, b.js](b.js)
```
No error
## Tests
npm test
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## License
MIT
## Reference
- [[022388]文頭の接続詞の連続や、文末の表記の連続などをチェックする](http://support.justsystems.com/faq/1032/app/servlet/qadoc?QID=022388 "[022388]文頭の接続詞の連続や、文末の表記の連続などをチェックする")