Skip to content

Commit 2a390c4

Browse files
committed
test: @putout/plugin-putout-config: schema
1 parent 633f3f9 commit 2a390c4

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
__putout_processor_json({
2+
"rules": {
3+
"properties": {
4+
"variables/remove-unused": {
5+
"$ref": "#/definitions/rule"
6+
}
7+
}
8+
}
9+
});
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
__putout_processor_json({
2+
"rules": {
3+
"properties": {
4+
"remove-unused-variables": {
5+
"$ref": "#/definitions/rule"
6+
}
7+
}
8+
}
9+
});

packages/plugin-putout-config/lib/apply-variables/index.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ test('putout-config: apply-variables: transform', (t) => {
1616
t.transform('apply-variables');
1717
t.end();
1818
});
19+
20+
test('putout-config: apply-variables: transform: schema', (t) => {
21+
t.transform('schema');
22+
t.end();
23+
});

0 commit comments

Comments
 (0)