Skip to content

Commit

Permalink
Update README for sortModules
Browse files Browse the repository at this point in the history
  • Loading branch information
ratierd committed Aug 26, 2021
1 parent 1fc4e8d commit ab3e595
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ is the string provided in import order.
A boolean value to enable or disable the new line separation
between sorted import declarations. The separation takes place according to `importOrder`.

#### `sortModules`
A boolean value to enable or disable sorting of the imports module declarations.
It is disabled by default

#### `experimentalBabelParserPluginsList`
A collection of parser names for babel parser. The plugin passes this list to babel parser so it can understand the syntaxes used in the file being formatted. The plugin uses prettier itself to figure out the parser it needs to use but if that fails, you can use this field to enforce the usage of the plugins babel needs.

Expand Down

0 comments on commit ab3e595

Please sign in to comment.