Skip to content

Commit

Permalink
chore: Update default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman_Vasilev committed Jun 11, 2022
1 parent 0dd6a2e commit 743d91a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions import_helper.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 743d91a

Please sign in to comment.