@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/dist/index.js
CHANGED
|
@@ -480,7 +480,7 @@ class SiblingCombinator extends SelectorCombinator {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
|
-
* A Rule object describes a
|
|
483
|
+
* A Rule object describes a Perseus lint rule. See the comment at the top of
|
|
484
484
|
* this file for detailed description.
|
|
485
485
|
*/
|
|
486
486
|
class Rule {
|
|
@@ -2872,7 +2872,7 @@ const linterContextDefault = {
|
|
|
2872
2872
|
};
|
|
2873
2873
|
|
|
2874
2874
|
const allLintRules = AllRules.filter(r => r.severity < Rule.Severity.BULK_WARNING);
|
|
2875
|
-
// Run the
|
|
2875
|
+
// Run the Perseus linter over the specified markdown parse tree,
|
|
2876
2876
|
// with the specified context object, and
|
|
2877
2877
|
// return a (possibly empty) array of lint warning objects. If the
|
|
2878
2878
|
// highlight argument is true, this function also modifies the parse
|