// Copyright (c) 2022 The Brave Authors. All rights reserved. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at https://mozilla.org/MPL/2.0/. /** @type {import("prettier").Config} */ module.exports = { 'trailingComma': 'all', 'tabWidth': 2, 'semi': false, 'singleQuote': true, 'jsxSingleQuote': true, 'bracketSameLine': false, 'quoteProps': 'preserve', 'arrowParens': 'always', 'bracketSpacing': true, 'embeddedLanguageFormatting': 'auto', 'endOfLine': 'lf', 'htmlWhitespaceSensitivity': 'css', 'insertPragma': false, 'plugins': [], 'printWidth': 80, 'proseWrap': 'always', 'requirePragma': false, 'useTabs': false, 'vueIndentScriptAndStyle': false, 'singleAttributePerLine': true, 'experimentalOperatorPosition': 'start', 'overrides': [ { files: ['tsconfig*.json'], options: { parser: 'jsonc', }, }, ], }