diff --git a/README.md b/README.md index 31c76bc..b610212 100644 --- a/README.md +++ b/README.md @@ -150,9 +150,10 @@ for serveral source folders common path will be used. Option what to do with file extension in import statement. - Type: `string` -- Enum: `['remove', 'js', 'keep']` - Default: `remove` +Options: + - **`remove`** js/ts/jsx/tsx extension will be removed - **`js`** js/ts/jsx/tsx will be replaced to js - **`as_is`** will stay as is diff --git a/import_helper.sublime-settings b/import_helper.sublime-settings index 3a1978c..39cf1ee 100644 --- a/import_helper.sublime-settings +++ b/import_helper.sublime-settings @@ -42,5 +42,14 @@ // - Type: `boolean` // - Default: `false` "remove_trailing_index": true, + + // Option what to do with file extension in import statement. + // - Type: `string` + // - Default: `remove` + // Options: + // - **`remove`** js/ts/jsx/tsx extension will be removed + // - **`js`** js/ts/jsx/tsx will be replaced to js + // - **`as_is`** will stay as is + "import_file_extension": "remove" }