@khanacademy/perseus-linter 8.0.1 → 8.2.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.
@@ -1,5 +1,9 @@
1
1
  import Rule from "../rule";
2
2
  export declare const sorterMaxIdealCards = 5;
3
3
  export declare const sorterMaxHorizontalCards = 5;
4
+ export declare const sorterMaxLegendLabelLength = 30;
5
+ export declare const SorterLegendMissing: Rule;
6
+ export declare const SorterLegendDescription: Rule;
7
+ export declare const SorterLegendLabels: Rule;
4
8
  declare const _default: Rule;
5
9
  export default _default;
@@ -0,0 +1,4 @@
1
+ import Rule from "../rule";
2
+ export declare const SINGLE_CELL_MESSAGE = "This table has only one cell:\nScreen readers announce a table's structure (rows, columns and headers)\nbefore its content, which adds noise when a table holds a single value. Please use\na paragraph or bold text instead.";
3
+ declare const _default: Rule;
4
+ export default _default;
@@ -64,7 +64,6 @@ export type TreeNode = {
64
64
  content: TreeNode;
65
65
  message: string;
66
66
  ruleName: string;
67
- blockHighlight?: boolean;
68
67
  insideTable: boolean;
69
68
  severity: number;
70
69
  id?: undefined;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Linter engine for Perseus",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "8.0.1",
6
+ "version": "8.2.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -24,8 +24,8 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@khanacademy/kas": "3.1.1",
27
- "@khanacademy/kmath": "3.1.6",
28
- "@khanacademy/perseus-core": "42.3.0",
27
+ "@khanacademy/kmath": "3.1.8",
28
+ "@khanacademy/perseus-core": "42.5.0",
29
29
  "@khanacademy/perseus-utils": "3.0.2",
30
30
  "@khanacademy/pure-markdown": "4.0.0"
31
31
  },