Basic Architecture of Sport Web
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/** @type {import("prettier").Config} */
|
||||
const config = {
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
printWidth: 100,
|
||||
tabWidth: 2,
|
||||
arrowParens: 'always',
|
||||
endOfLine: 'lf',
|
||||
plugins: ['prettier-plugin-tailwindcss'],
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.json', '*.jsonc', '*.yml', '*.yaml', '*.md'],
|
||||
options: { singleQuote: false },
|
||||
},
|
||||
{
|
||||
// These carry explanatory comments and are parsed as JSONC by their
|
||||
// consumers (TypeScript and Turborepo both accept comments).
|
||||
files: ['packages/config/typescript/*.json', 'turbo.json'],
|
||||
options: { parser: 'jsonc', singleQuote: false },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user