textlint-rule-terminology
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -28,3 +28,8 @@ const fs = require('fs'); | ||
[Syntax.Str](node) { | ||
if (helper.isChildNode(node, opts.skip.map(rule => Syntax[rule]))) { | ||
if ( | ||
helper.isChildNode( | ||
node, | ||
opts.skip.map(rule => Syntax[rule]) | ||
) | ||
) { | ||
return false; | ||
@@ -31,0 +36,0 @@ } |
{ | ||
"name": "textlint-rule-terminology", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "TextLint rule to check correct terms spelling", | ||
@@ -13,3 +13,3 @@ "author": { | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=8.9" | ||
}, | ||
@@ -41,9 +41,9 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "^6.5.1", | ||
"eslint-config-tamia": "^7.0.1", | ||
"husky": "^3.0.9", | ||
"eslint": "^6.8.0", | ||
"eslint-config-tamia": "^7.1.1", | ||
"husky": "^4.0.7", | ||
"jest": "^24.9.0", | ||
"lint-staged": "^9.4.2", | ||
"prettier": "^1.18.2", | ||
"textlint-tester": "^5.1.10" | ||
"lint-staged": "^9.5.0", | ||
"prettier": "^1.19.1", | ||
"textlint-tester": "^5.1.13" | ||
}, | ||
@@ -50,0 +50,0 @@ "dependencies": { |
@@ -104,6 +104,12 @@ # textlint-rule-terminology | ||
## Sponsoring | ||
This software has been developed with lots of coffee, buy me one more cup to keep it going. | ||
<a href="https://www.buymeacoffee.com/sapegin" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/lato-orange.png" alt="Buy Me A Coffee" height="51" width="217" ></a> | ||
## Authors and license | ||
[Artem Sapegin](http://sapegin.me) and [contributors](https://github.com/sapegin/textlint-rule-terminology/graphs/contributors). | ||
[Artem Sapegin](https://sapegin.me) and [contributors](https://github.com/sapegin/textlint-rule-terminology/graphs/contributors). | ||
MIT License, see the included [License.md](License.md) file. |
@@ -96,2 +96,4 @@ [ | ||
["smartphone(s?)", "mobile phone$1"], | ||
// https://stackoverflow.com/questions/44934828/is-it-spread-syntax-or-the-spread-operator | ||
["spread operator", "spread syntax"], | ||
["web[- ]?site(s?)", "site$1"], | ||
@@ -165,4 +167,6 @@ | ||
["server ?side", "server-side"], | ||
["two ?steps?", "two-step"], | ||
["2 ?steps?", "two-step"], | ||
["two ?steps? authentication", "two-step authentication"], | ||
["two ?steps? verification", "two-step verification"], | ||
["2 ?steps? authentication", "two-step authentication"], | ||
["2 ?steps? verification", "two-step verification"], | ||
@@ -169,0 +173,0 @@ // Starts from a lower case letter in the middle of a sentence |
14564
288
115
5285