diff --git a/README.md b/README.md index 7beba9d..6100d9b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# textlint-rule-filter-whitelist +# textlint-filter-rule-whitelist textlint filter rule that filter any word by white list. @@ -6,7 +6,7 @@ textlint filter rule that filter any word by white list. Install with [npm](https://www.npmjs.com/): - npm install textlint-rule-filter-whitelist + npm install textlint-filter-rule-whitelist ## Usage @@ -32,7 +32,7 @@ Via `.textlintrc`(Recommended) ### RegExp String -textlint-rule-filter-whitelist allow to use RegExp like string. +textlint-filter-rule-whitelist allow to use RegExp like string. The string is stated with `/` and ended with `/`. ```js @@ -41,7 +41,7 @@ The string is stated with `/` and ended with `/`. ## Changelog -See [Releases page](https://github.com/textlint/textlint-rule-filter-whitelist/releases). +See [Releases page](https://github.com/textlint/textlint-filter-rule-whitelist/releases). ## Running tests @@ -53,7 +53,7 @@ Install devDependencies and Run `npm test`: Pull requests and stars are always welcome. -For bugs and feature requests, [please create an issue](https://github.com/textlint/textlint-rule-filter-whitelist/issues). +For bugs and feature requests, [please create an issue](https://github.com/textlint/textlint-filter-rule-whitelist/issues). 1. Fork it! 2. Create your feature branch: `git checkout -b my-new-feature` diff --git a/package.json b/package.json index 1c6d4aa..7f1a108 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { - "name": "textlint-rule-filter-whitelist", + "name": "textlint-filter-rule-whitelist", "repository": { "type": "git", - "url": "https://github.com/textlint/textlint-rule-filter-whitelist.git" + "url": "https://github.com/textlint/textlint-filter-rule-whitelist.git" }, "author": "azu", "email": "azuciao@gmail.com", - "homepage": "https://github.com/textlint/textlint-rule-filter-whitelist", + "homepage": "https://github.com/textlint/textlint-filter-rule-whitelist", "license": "MIT", "bugs": { - "url": "https://github.com/textlint/textlint-rule-filter-whitelist/issues" + "url": "https://github.com/textlint/textlint-filter-rule-whitelist/issues" }, "files": [ "src/", "lib/" ], "version": "1.0.1", - "main": "lib/textlint-rule-filter-whitelist.js", + "main": "lib/textlint-filter-rule-whitelist.js", "directories": { "test": "test" }, diff --git a/src/textlint-rule-filter-whitelist.js b/src/textlint-filter-rule-whitelist.js similarity index 100% rename from src/textlint-rule-filter-whitelist.js rename to src/textlint-filter-rule-whitelist.js diff --git a/test/textlint-rule-filter-whitelist-test.js b/test/textlint-filter-rule-whitelist-test.js similarity index 97% rename from test/textlint-rule-filter-whitelist-test.js rename to test/textlint-filter-rule-whitelist-test.js index 17c4abf..f9aad49 100644 --- a/test/textlint-rule-filter-whitelist-test.js +++ b/test/textlint-filter-rule-whitelist-test.js @@ -2,7 +2,7 @@ "use strict"; const TextLintCore = require("textlint").TextLintCore; const TextLintNodeType = require("textlint").TextLintNodeType; -import filterRule from "../src/textlint-rule-filter-whitelist"; +import filterRule from "../src/textlint-filter-rule-whitelist"; import reportRule from "textlint-rule-report-node-types"; const assert = require("power-assert"); describe("textlint-rule-filter-whitelist", function() {