portfolio/.prettierrc.js
apatil 1cd5130fa7
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Adding MUI and app bar to he portfolio
2025-05-02 16:29:00 +01:00

18 lines
640 B
JavaScript

/** @type {import('prettier').Config} */
module.exports = {
arrowParens: 'always',
// Prettier might give an "unknown option" warning, however "editorconfig" is a valid option, see:
// http://json.schemastore.org/prettierrc
// https://prettier.io/docs/en/configuration.html#configuration-schema
editorconfig: true, // see .editorconfig
endOfLine: 'auto', // see .editorconfig
bracketSameLine: false,
jsxSingleQuote: true,
printWidth: 100, // this isn't like max-len, it's a soft target
semi: true,
singleQuote: true,
tabWidth: 2, // see .editorconfig
trailingComma: 'all',
useTabs: false // see .editorconfig
};