pull/3192/head
bunsenstraat 2 years ago committed by Aniket
parent 6376c6b532
commit 2b8cdecc82
  1. 1
      apps/remix-ide/src/app/plugins/code-format.ts
  2. 4
      libs/remix-ws-templates/src/templates/zeroxErc20/index.ts

@ -192,6 +192,7 @@ export class CodeFormat extends Plugin {
} else {
parsed = defaultOptions
await this.call('fileManager', 'writeFile', '.prettierrc.json', JSON.stringify(parsed, null, 2))
await this.call('notification', 'toast', 'A prettier config file has been created in the workspace.')
}
if (!parsed && prettierConfigFile) {

@ -13,8 +13,6 @@ export default async () => {
// @ts-ignore
'tests/SampleERC20_test.sol': (await import('raw-loader!./tests/SampleERC20_test.sol')).default,
// @ts-ignore
'.prettierrc.json': (await import('raw-loader!./.prettierrc')).default,
// @ts-ignore
'.prettierrc2.json': (await import('raw-loader!./.prettierrc')).default
'.prettierrc.json': (await import('raw-loader!./.prettierrc')).default
}
}
Loading…
Cancel
Save