@khanacademy/perseus-linter 0.2.0 → 0.2.1
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/CHANGELOG.md +8 -0
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/proptypes.js +2 -2
- package/src/tree-transformer.js +3 -3
package/dist/index.js
CHANGED
|
@@ -1183,7 +1183,7 @@ class TreeTransformer {
|
|
|
1183
1183
|
// information about the structure of the tree.
|
|
1184
1184
|
|
|
1185
1185
|
|
|
1186
|
-
_traverse( // eslint-disable-next-line
|
|
1186
|
+
_traverse( // eslint-disable-next-line ft-flow/no-mutable-array
|
|
1187
1187
|
n, state, f) {
|
|
1188
1188
|
let content = "";
|
|
1189
1189
|
|
|
@@ -1310,7 +1310,7 @@ class TraversalState {
|
|
|
1310
1310
|
// elements, depending on whether we just recursed on an array or on a
|
|
1311
1311
|
// node. This is hard for Flow to deal with, so you'll see a number of
|
|
1312
1312
|
// Flow casts through the any type when working with these two properties.
|
|
1313
|
-
// eslint-disable-next-line
|
|
1313
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
1314
1314
|
// The constructor just stores the root node and creates empty stacks.
|
|
1315
1315
|
constructor(root) {
|
|
1316
1316
|
_defineProperty(this, "root", void 0);
|
|
@@ -1605,7 +1605,7 @@ class TraversalState {
|
|
|
1605
1605
|
*/
|
|
1606
1606
|
|
|
1607
1607
|
class Stack {
|
|
1608
|
-
// eslint-disable-next-line
|
|
1608
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
1609
1609
|
constructor(array) {
|
|
1610
1610
|
_defineProperty(this, "stack", void 0);
|
|
1611
1611
|
|