@khanacademy/perseus-linter 1.2.17 → 1.2.18

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.
package/dist/index.js CHANGED
@@ -1146,15 +1146,6 @@ var MathEmpty = Rule.makeRule({
1146
1146
  message: "Empty math: don't use $$ in your markdown."
1147
1147
  });
1148
1148
 
1149
- var MathFontSize = Rule.makeRule({
1150
- name: "math-font-size",
1151
- severity: Rule.Severity.GUIDELINE,
1152
- selector: "math, blockMath",
1153
- pattern: /\\(tiny|Tiny|small|large|Large|LARGE|huge|Huge|scriptsize|normalsize)\s*{/,
1154
- message: `Math font size:
1155
- Don't change the default font size with \\Large{} or similar commands`
1156
- });
1157
-
1158
1149
  var MathFrac = Rule.makeRule({
1159
1150
  name: "math-frac",
1160
1151
  severity: Rule.Severity.GUIDELINE,
@@ -1283,7 +1274,7 @@ do not put widgets inside of tables.`
1283
1274
  });
1284
1275
 
1285
1276
  // TODO(davidflanagan):
1286
- var AllRules = [AbsoluteUrl, BlockquotedMath, BlockquotedWidget, DoubleSpacingAfterTerminal, ExpressionWidget, ExtraContentSpacing, HeadingLevel1, HeadingLevelSkip, HeadingSentenceCase, HeadingTitleCase, ImageAltText, ImageInTable, LinkClickHere, LongParagraph, MathAdjacent, MathAlignExtraBreak, MathAlignLinebreaks, MathEmpty, MathFontSize, MathFrac, MathNested, MathStartsWithSpace, MathTextEmpty, NestedLists, StaticWidgetInQuestionStem, TableMissingCells, UnescapedDollar, WidgetInTable, MathWithoutDollars, UnbalancedCodeDelimiters, ImageSpacesAroundUrls, ImageWidget];
1277
+ var AllRules = [AbsoluteUrl, BlockquotedMath, BlockquotedWidget, DoubleSpacingAfterTerminal, ExpressionWidget, ExtraContentSpacing, HeadingLevel1, HeadingLevelSkip, HeadingSentenceCase, HeadingTitleCase, ImageAltText, ImageInTable, LinkClickHere, LongParagraph, MathAdjacent, MathAlignExtraBreak, MathAlignLinebreaks, MathEmpty, MathFrac, MathNested, MathStartsWithSpace, MathTextEmpty, NestedLists, StaticWidgetInQuestionStem, TableMissingCells, UnescapedDollar, WidgetInTable, MathWithoutDollars, UnbalancedCodeDelimiters, ImageSpacesAroundUrls, ImageWidget];
1287
1278
 
1288
1279
  /**
1289
1280
  * TreeTransformer is a class for traversing and transforming trees. Create a
@@ -1830,7 +1821,7 @@ class Stack {
1830
1821
 
1831
1822
  // This file is processed by a Rollup plugin (replace) to inject the production
1832
1823
  const libName = "@khanacademy/perseus-linter";
1833
- const libVersion = "1.2.17";
1824
+ const libVersion = "1.2.18";
1834
1825
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
1835
1826
 
1836
1827
  // Define the shape of the linter context object that is passed through the