33 lines
681 B
JavaScript
33 lines
681 B
JavaScript
// "@oclif/prettier-config"
|
|
|
|
const baseConfig = require("@oclif/prettier-config");
|
|
|
|
module.exports = {
|
|
...baseConfig,
|
|
arrowParens: "always",
|
|
bracketSameLine: true,
|
|
bracketSpacing: true,
|
|
jsxSingleQuote: false,
|
|
printWidth: 150,
|
|
semi: true,
|
|
singleAttributePerLine: false,
|
|
singleQuote: false,
|
|
trailingComma: "es5",
|
|
tabWidth: 4,
|
|
useTabs: false,
|
|
overrides: [
|
|
{
|
|
files: ["*.json"],
|
|
options: {
|
|
parser: "json",
|
|
},
|
|
},
|
|
{
|
|
files: ["*.ts", "*.mts", "*.tsx"],
|
|
options: {
|
|
parser: "typescript",
|
|
},
|
|
},
|
|
],
|
|
};
|