diff --git a/.textlintrc.js b/.textlintrc.js index c9d8326..e728446 100644 --- a/.textlintrc.js +++ b/.textlintrc.js @@ -32,6 +32,7 @@ module.exports = { passive: false, thereIs: false }, + 'apostrophe': true, }, filters: { comments: true, diff --git a/package-lock.json b/package-lock.json index b0602f7..9787ca5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.9", "textlint": "^12.4.0", "textlint-filter-rule-comments": "^1.2.2", + "textlint-rule-apostrophe": "^2.0.0", "textlint-rule-common-misspellings": "^1.0.1", "textlint-rule-doubled-spaces": "^1.0.0", "textlint-rule-max-comma": "^2.0.2", @@ -16578,6 +16579,15 @@ "textlint": ">=6.8.0" } }, + "node_modules/textlint-rule-apostrophe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/textlint-rule-apostrophe/-/textlint-rule-apostrophe-2.0.0.tgz", + "integrity": "sha512-iA0YlUBLS4/YNswvOzG44zo/tJ+xhcLYjyzI9iPia9+jxCQ5NGLlRXHTdtwWPvTTpCk3cn9vlcxYma7wdYyWzg==", + "dev": true, + "engines": { + "node": ">=8.9" + } + }, "node_modules/textlint-rule-common-misspellings": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/textlint-rule-common-misspellings/-/textlint-rule-common-misspellings-1.0.1.tgz", @@ -32211,6 +32221,12 @@ "dev": true, "requires": {} }, + "textlint-rule-apostrophe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/textlint-rule-apostrophe/-/textlint-rule-apostrophe-2.0.0.tgz", + "integrity": "sha512-iA0YlUBLS4/YNswvOzG44zo/tJ+xhcLYjyzI9iPia9+jxCQ5NGLlRXHTdtwWPvTTpCk3cn9vlcxYma7wdYyWzg==", + "dev": true + }, "textlint-rule-common-misspellings": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/textlint-rule-common-misspellings/-/textlint-rule-common-misspellings-1.0.1.tgz", diff --git a/package.json b/package.json index 3afc57e..c2c18f0 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.9", "textlint": "^12.4.0", "textlint-filter-rule-comments": "^1.2.2", + "textlint-rule-apostrophe": "^2.0.0", "textlint-rule-common-misspellings": "^1.0.1", "textlint-rule-doubled-spaces": "^1.0.0", "textlint-rule-max-comma": "^2.0.2",