Files
brave-core/.prettierrc.js
2026-03-20 08:27:20 -04:00

38 lines
1010 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',
'overrides': [
{
files: ['tsconfig*.json'],
options: {
parser: 'jsonc',
},
},
],
}