module.exports = {
  $schema: 'http://json.schemastore.org/prettierrc',
  plugins: ['prettier-plugin-solidity'],
  trailingComma: 'es5',
  tabWidth: 2,
  semi: false,
  singleQuote: true,
  arrowParens: 'always',
  overrides: [
    {
      files: '*.sol',
      options: {
        // These options are native to Prettier.
        printWidth: 100,
        tabWidth: 4,
        useTabs: false,
        singleQuote: false,
        bracketSpacing: true,
        // These options are specific to the Solidity Plugin
        explicitTypes: 'always',
        compiler: '>=0.8.15',
      },
    },
  ],
}
