Skip to content

Commit e64e93c

Browse files
committed
fix: @putout/plugin-putout: apply-exports: off
1 parent 0054e19 commit e64e93c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/plugin-putout/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ npm i @putout/plugin-putout -D
9898
"putout/apply-create-nested-directory": "on",
9999
"putout/apply-async-formatter": "on",
100100
"putout/apply-declare": "on",
101-
"putout/apply-exports": "on",
101+
"putout/apply-exports": "off",
102102
"putout/apply-exports-to-add-args": "on",
103103
"putout/apply-exports-to-match-files": "on",
104104
"putout/apply-exports-to-rename-files": "on",
@@ -470,13 +470,13 @@ Possible configuration:
470470
```json
471471
{
472472
"rules": {
473-
"putout/apply-exports": {
473+
"putout/apply-exports": ["on", {
474474
"addArgs": [
475475
"report",
476476
"fix",
477477
"scan"
478478
]
479-
}
479+
}]
480480
}
481481
}
482482
```

packages/plugin-putout/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ export const rules = {
135135
'apply-report': applyReport,
136136
'apply-exports-to-match-files': applyExportsToMatchFiles,
137137
'apply-exports-to-rename-files': applyExportsToRenameFiles,
138-
'apply-exports': applyExports,
138+
'apply-exports': ['off', applyExports],
139139
};

0 commit comments

Comments
 (0)