beemojs / beemo

🤖 Centralized configuration layer for dev tools. Beep boop.
https://beemo.dev
MIT License
143 stars 9 forks source link

Prettier config typings don't allow overrides #80

Closed domoritz closed 4 years ago

domoritz commented 4 years ago

Prettier allows overrides but the beemo typings don't allow it.

import {PrettierConfig} from '@beemo/driver-prettier';

const config: PrettierConfig = {
  printWidth: 120,
  proseWrap: 'never',
  overrides: [
    {
      files: '*.{js,jsx,ts,tsx}',
      options: {
        bracketSpacing: false,
        singleQuote: true,
      },
    },
  ],
  ignore: ['.eslintrc.js', 'prettier.config.js', '.prettierrc.js'],
};

export default config;
Screen Shot 2020-04-15 at 11 35 33
milesj commented 4 years ago

Thanks! Fixed in the next version.

domoritz commented 4 years ago

Awesome.