Files
brave-core/.prettierrc.js
T
2025-05-21 20:47:51 +04:00

30 lines
891 B
JavaScript

// 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',
}