Last active
July 6, 2024 22:51
-
-
Save eriveltondasilva/c18955414994474e20ae195dcdfac223 to your computer and use it in GitHub Desktop.
Este arquivo define a configuração do Prettier para formatar o código no projeto.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"arrowParens": "always", | |
"bracketSameLine": true, | |
"bracketSpacing": true, | |
"endOfLine": "lf", | |
"jsxSingleQuote": true, | |
"printWidth": 120, | |
"semi": false, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"trailingComma": "all", | |
"useTabs": false, | |
"overrides": [ | |
{ | |
"files": ".prettierrc", | |
"options": { | |
"parser": "json" | |
} | |
}, | |
{ | |
"files": "*.php", | |
"options": { | |
"phpVersion": "8.2", | |
"trailingCommaPHP": true, | |
"braceStyle": "per-cs", | |
"parser": "php" | |
} | |
} | |
], | |
"tailwindFunctions": ["tw", "twJoin", "twMerge"], | |
"plugins": ["@prettier/plugin-php", "prettier-plugin-tailwindcss"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment