2.0.0 • Published 3 years ago
textlintrc-to-package-list v2.0.0
textlintrc-to-package-list 
Listing package name from .textlintrc
Main use case is installing npm package from .textlinrc
Installation
npm install textlintrc-to-package-list -g
Usage
$ textlintrc-to-package-list ./path/to/.textlintrc
Exaple
Input .textlintrc
{
"plugins": [
"jtf-style"
],
"rules": {
"max-ten": {
"max": 3
},
"no-doubled-joshi": {
"min_interval": 1
},
"sentence-length": {
"max": 100
},
"no-start-duplicated-conjunction": {
"interval": 2
},
"spellcheck-tech-word": true,
"no-mix-dearu-desumasu": true,
"prh": {
"rulePaths": [
"test/prh.yml"
]
},
"jtf-style/2.1.2.漢字": false,
"jtf-style/2.1.5.カタカナ": false,
"jtf-style/2.1.6.カタカナの長音": false,
"jtf-style/4.2.2.疑問符(?)": false,
"jtf-style/4.3.1.丸かっこ()": false
}
}
Output
textlint-plugin-jtf-style
textlint-rule-max-ten
textlint-rule-no-doubled-joshi
textlint-rule-sentence-length
textlint-rule-no-start-duplicated-conjunction
textlint-rule-spellcheck-tech-word
textlint-rule-no-mix-dearu-desumasu
textlint-rule-prh
UseCase
Install npm package from .textlintrc
textlintrc-to-package-list .textlintrc | xargs npm install -S
Do Install all package from .textlintrc
!
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT
2.0.0
3 years ago