textlint rule to check Japanese with A3RT Proofreading API
npm install textlint-rule-a3rt-proofreading-v2Install with npm:
``bash`
npm install textlint-rule-a3rt-proofreading-v2
Via .textlintrc(Recommended)
`json`
{
"rules": {
"a3rt-proofreading-v2": {
"apiKey": "./path/to/key.yaml"
}
}
}
Get API Key from Proofreading API
And set yaml like below.
`yaml`
version: 1
rules:
apiKey: 'APIKEY'
Via CLI
`bash`
textlint --rule a3rt-proofreading-v2 README.md
Builds source codes for publish to the lib folder.src/
You can write ES2015+ source codes in folder.
`bash`
npm run build
Run test code in test folder.
Test textlint rule by textlint-tester.
`bash``
npm test
MIT ©