-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.prettierrc.js
More file actions
31 lines (31 loc) · 828 Bytes
/
.prettierrc.js
File metadata and controls
31 lines (31 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
semi: true,
tabWidth: 2,
singleQuote: true,
useTabs: false,
singleAttributePerLine: true,
printWidth: 120,
bracketSameLine: true,
trailingComma: 'es5',
// // prettier-php settings
// overrides: [
// /*
// # {
// # "files": ["*.json5"],
// # "options": { "singleQuote": false, "quoteProps": "preserve" },
// # },
// */
// { files: ['*.yml'], options: { singleQuote: false } },
// {
// files: ['*.php'],
// options: {
// // see https://github.com/prettier/plugin-php?tab=readme-ov-file#visual-studio-code
// // 8.3 is currently not supported by the plugin
// phpVersion: '8.2',
// braceStyle: '1tbs',
// parser: 'php',
// },
// },
// ],
// plugins: ['@prettier/plugin-php'],
};