@khanacademy/perseus-linter 0.1.0 → 0.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.
- package/CHANGELOG.md +7 -0
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/matcher_test.js +1 -1
- package/src/__tests__/rule_test.js +1 -1
- package/src/__tests__/selector-parser_test.js +1 -1
- package/src/__tests__/tree-transformer_test.js +1 -1
- package/src/index.js +1 -1
- package/src/rule.js +3 -3
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -502,7 +502,7 @@ class SiblingCombinator extends SelectorCombinator {
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
* A Rule object describes a
|
|
505
|
+
* A Rule object describes a Perseus lint rule. See the comment at the top of
|
|
506
506
|
* this file for detailed description.
|
|
507
507
|
*/
|
|
508
508
|
class Rule {
|
|
@@ -2894,7 +2894,7 @@ var linterContextDefault = {
|
|
|
2894
2894
|
};
|
|
2895
2895
|
|
|
2896
2896
|
var allLintRules = AllRules.filter(r => r.severity < Rule.Severity.BULK_WARNING);
|
|
2897
|
-
// Run the
|
|
2897
|
+
// Run the Perseus linter over the specified markdown parse tree,
|
|
2898
2898
|
// with the specified context object, and
|
|
2899
2899
|
// return a (possibly empty) array of lint warning objects. If the
|
|
2900
2900
|
// highlight argument is true, this function also modifies the parse
|