UNPKG

@vercel/style-guide

Version:

Vercel's engineering style guide

19 lines (17 loc) 447 B
/** * Some of Prettier's defaults can be overridden by an EditorConfig file. We * define those here to ensure that doesn't happen. * * See: https://github.com/prettier/prettier/blob/main/docs/configuration.md#editorconfig */ const overridableDefaults = { endOfLine: 'lf', tabWidth: 2, printWidth: 80, useTabs: false, }; module.exports = { ...overridableDefaults, singleQuote: true, plugins: ['prettier-plugin-packagejson'], };