@fabriziosalmi/slopless 1.4.2 → 1.4.4
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/dist/engine/api.js +87 -87
- package/dist/index.d.ts +3 -1
- package/dist/index.js +128 -127
- package/package.json +1 -1
- package/rules/VBC-010.yaml +3 -1
- package/rules/VBC-034.yaml +3 -1
- package/rules/VBC-070.yaml +6 -1
- package/rules/VBC-077.yaml +23 -0
package/dist/index.d.ts
CHANGED
|
@@ -114,9 +114,11 @@ declare function applyIgnoreRules(files: string[], configIgnore?: string[]): str
|
|
|
114
114
|
* this for was buried under style. Selecting up front is cheaper than reading
|
|
115
115
|
* past it, and cheaper than running the rules at all.
|
|
116
116
|
*/
|
|
117
|
+
declare class UsageError extends Error {
|
|
118
|
+
}
|
|
117
119
|
declare function selectRules(rules: Rule[], options: {
|
|
118
120
|
only?: string;
|
|
119
121
|
minSeverity?: string;
|
|
120
122
|
}): Rule[];
|
|
121
123
|
|
|
122
|
-
export { applyIgnoreRules, selectRules };
|
|
124
|
+
export { UsageError, applyIgnoreRules, selectRules };
|