@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/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -1205,7 +1205,7 @@ class TreeTransformer {
|
|
|
1205
1205
|
// information about the structure of the tree.
|
|
1206
1206
|
|
|
1207
1207
|
|
|
1208
|
-
_traverse( // eslint-disable-next-line
|
|
1208
|
+
_traverse( // eslint-disable-next-line ft-flow/no-mutable-array
|
|
1209
1209
|
n, state, f) {
|
|
1210
1210
|
var content = "";
|
|
1211
1211
|
|
|
@@ -1332,7 +1332,7 @@ class TraversalState {
|
|
|
1332
1332
|
// elements, depending on whether we just recursed on an array or on a
|
|
1333
1333
|
// node. This is hard for Flow to deal with, so you'll see a number of
|
|
1334
1334
|
// Flow casts through the any type when working with these two properties.
|
|
1335
|
-
// eslint-disable-next-line
|
|
1335
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
1336
1336
|
// The constructor just stores the root node and creates empty stacks.
|
|
1337
1337
|
constructor(root) {
|
|
1338
1338
|
_defineProperty(this, "root", void 0);
|
|
@@ -1627,7 +1627,7 @@ class TraversalState {
|
|
|
1627
1627
|
*/
|
|
1628
1628
|
|
|
1629
1629
|
class Stack {
|
|
1630
|
-
// eslint-disable-next-line
|
|
1630
|
+
// eslint-disable-next-line ft-flow/no-mutable-array
|
|
1631
1631
|
constructor(array) {
|
|
1632
1632
|
_defineProperty(this, "stack", void 0);
|
|
1633
1633
|
|