Configure automatic import sorting
This commit is contained in:
parent
e538471611
commit
ca5d64eca7
2 changed files with 9 additions and 5 deletions
|
@ -10,6 +10,10 @@
|
|||
"editor.formatOnSave": true,
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
}
|
||||
},
|
||||
"importSorter.generalConfiguration.sortOnBeforeSave": true
|
||||
},
|
||||
"extensions": {
|
||||
"recommendations": ["mike-co.import-sorter", "esbenp.prettier-vscode"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,12 +10,12 @@ import {
|
|||
Use,
|
||||
} from "./peg";
|
||||
import {
|
||||
Script,
|
||||
Word as WordType,
|
||||
TextWord,
|
||||
EnchantedWord as EnchantedWordType,
|
||||
SimplifyWord,
|
||||
InterpolatedPiece,
|
||||
Script,
|
||||
SimplifyWord,
|
||||
TextWord,
|
||||
Word as WordType,
|
||||
} from "./words";
|
||||
|
||||
const Comment = Regex(/#[^\n]*/y)
|
||||
|
|
Loading…
Reference in a new issue