textlint-rule-terminology
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -90,3 +90,3 @@ // @ts-check | ||
const defaults = defaultTerms | ||
? loadJson(path.resolve(__dirname, 'terms.json')) | ||
? loadJson(path.resolve(__dirname, 'terms.jsonc')) | ||
: []; | ||
@@ -93,0 +93,0 @@ const extras = typeof terms === 'string' ? loadJson(terms) : terms; |
{ | ||
"name": "textlint-rule-terminology", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "TextLint rule to check correct terms spelling", | ||
@@ -18,3 +18,3 @@ "author": { | ||
"index.js", | ||
"terms.json" | ||
"terms.jsonc" | ||
], | ||
@@ -21,0 +21,0 @@ "scripts": { |
@@ -39,3 +39,3 @@ # textlint-rule-terminology | ||
"terminology": { | ||
// Load default terms (see terms.json in the repository) | ||
// Load default terms (see terms.jsonc in the repository) | ||
"defaultTerms": true, | ||
@@ -65,3 +65,3 @@ // Syntax elements to skip. Overrides the default | ||
// OR load terms from a file | ||
"terms": "~/terms.json", | ||
"terms": "~/terms.jsonc", | ||
// OR load terms from npm | ||
@@ -78,3 +78,3 @@ "terms": "@johnsmith/terms", | ||
Check [the default terminology](./terms.json). Read more about [configuring textlint](https://github.com/textlint/textlint/blob/master/docs/configuring.md). | ||
Check [the default terminology](./terms.jsonc). Read more about [configuring textlint](https://github.com/textlint/textlint/blob/master/docs/configuring.md). | ||
@@ -81,0 +81,0 @@ ## Tips & tricks |
16717
182