-
Attached is the word macro TPO uses to check for common errors. We should double-check that all default behavior in the template complies with this, or helps enforce it.
http://pastebin.com/D8ySxyyw…
-
from: https://github.com/azu/textlint-plugin-JTF-style/pull/5#issuecomment-154417503
try to set the following and textlint throw ReferenceError.
```
{
"plugins": [
"jtf-style"
],
"rules": …
-
ref https://github.com/textlint/textlint/issues/78
Reproduce repo: https://github.com/azu/textlint-isssue78
``` sh
git clone https://github.com/azu/textlint-isssue78.git
cd textlint-isssue78
npm i
…
-
下記の環境で利用としても、linter-textlintまったく反応せず、
lintの結果がAtom側に表示されない。
- Atom: 1.0.19
- linter-textlint: 1.1.0
- OS: OS X El Capitan
.textlintrc
```
{
"rules": {
"max-ten": true,
"spellcheck-tech-w…
-
Related #39
``` js
{
"rules": {
// a is foo
"a": true
}
}
```
-
textlint find invalid text and always throw **Error**.
ESLint has `severity` options.
```
0 - turn the rule off
1 - turn the rule on as a warning (doesn't affect exit code)
2 - turn the …
-
``` md
// index.md
もっとです。
もっとする。もっとだ。
// README.md (empty)
```
```
$ textlint --plugin textlint-plugin-jtf-style README.md index.md
~\index.md
10:10 error 本文を敬体(ですます調)に統一して下さい。
本文の文体は、敬体(ですます調…
-
Current:
``` js
var TextLintEngine = require("textlint").TextLintEngine;
var engine = new TextLintEngine({
rules: ["textlint-rule-spellcheck-tech-word"]
});
```
``` js
var TextLintEngine = requ…
-
`textlint-core.js` is not single, but `rule-manager.js` is a singleton.
``` js
var textlint1 = new TextLintCore();
textlint1.setupRule()
// do lint...
var textlint2 = new TextLintCore();
// textlint2…
-
textlint require options for each rules.
- [Documentation - ESLint - Pluggable JavaScript linter](http://eslint.org/docs/user-guide/configuring)
``` js
{
"parser": "esprima",
"rules": {
…