@docusaurus/eslint-plugin 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/util.js +3 -3
  2. package/package.json +2 -2
package/lib/util.js CHANGED
@@ -6,7 +6,9 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createRule = exports.isTextLabelChild = exports.isStringWithoutExpressions = void 0;
9
+ exports.createRule = void 0;
10
+ exports.isStringWithoutExpressions = isStringWithoutExpressions;
11
+ exports.isTextLabelChild = isTextLabelChild;
10
12
  const utils_1 = require("@typescript-eslint/utils");
11
13
  const isMadeOfIgnoredStrings = (text, ignoredStrings) => text
12
14
  .trim()
@@ -29,7 +31,6 @@ function isStringWithoutExpressions(text, options) {
29
31
  return false;
30
32
  }
31
33
  }
32
- exports.isStringWithoutExpressions = isStringWithoutExpressions;
33
34
  function isTextLabelChild(child, options) {
34
35
  switch (child.type) {
35
36
  case 'JSXText':
@@ -40,5 +41,4 @@ function isTextLabelChild(child, options) {
40
41
  return false;
41
42
  }
42
43
  }
43
- exports.isTextLabelChild = isTextLabelChild;
44
44
  exports.createRule = utils_1.ESLintUtils.RuleCreator((name) => `https://docusaurus.io/docs/api/misc/@docusaurus/eslint-plugin/${name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/eslint-plugin",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "ESLint plugin to enforce best Docusaurus practices.",
5
5
  "main": "lib/index.js",
6
6
  "keywords": [
@@ -33,5 +33,5 @@
33
33
  "engines": {
34
34
  "node": ">=18.0"
35
35
  },
36
- "gitHead": "49e9a2143274a8dd795659b417b470bc42abbd6e"
36
+ "gitHead": "cb5829f3c34b26d798b869e38ee25073488140bd"
37
37
  }