Skip to content

Commit

Permalink
feat(typescript): add property to d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 6, 2016
1 parent 7816b99 commit d0b238c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -23,6 +23,7 @@
"src",
"typing"
],
"typings": "typing/textlint.d.ts",
"bin": {
"textlint": "./bin/textlint.js"
},
Expand Down
14 changes: 13 additions & 1 deletion typing/textlint.d.ts
Expand Up @@ -23,9 +23,21 @@ interface TextLintConfig {
// e.g.) stylish.js => set "stylish"
formatName?:string;
// plugin package names
plugins?: string[],
plugins?: string[];
// rules base directory that is related `rules`.
rulesBaseDirectory?: string;
// ".textlint" file path
configFile?: string;
// disabled rule package names
// always should start with empty
disabledRules?: string[],
// preset package names
// e.g.) ["preset-foo"]
presets?: string[],
// rules base directory that is related `rules`.
rulesBaseDirectory?: string,
// ".textlint" file path
configFile?: string,
// rules config object
rulesConfig?: Object,
}

0 comments on commit d0b238c

Please sign in to comment.