Elffuss BraidHub

kikocis/dataspace-portal public

main · 878 BRawPermalink
1module.exports = {
2 tabWidth: 2,
3 useTabs: false,
4 singleQuote: true,
5 semi: true,
6 arrowParens: 'always',
7 trailingComma: 'all',
8 bracketSameLine: true,
9 printWidth: 80,
10 bracketSpacing: false,
11 proseWrap: 'always',
12
13 attributeGroups: [
14 '$ANGULAR_STRUCTURAL_DIRECTIVE',
15 '^(id|name)$',
16 '^class$',
17 '$DEFAULT',
18 '^aria-',
19 '$ANGULAR_INPUT',
20 '$ANGULAR_TWO_WAY_BINDING',
21 '$ANGULAR_OUTPUT',
22 ],
23
24 // @trivago/prettier-plugin-sort-imports
25 importOrder: [
26 // this import needs to be on top or tests fail
27 '^zone.js/testing$',
28 // third parties first
29 '^@angular/(.*)$',
30 '^rxjs(/(.*))?$',
31 '<THIRD_PARTY_MODULES>',
32 // rest after
33 '^[./]',
34 ],
35 importOrderParserPlugins: [
36 'typescript',
37 'classProperties',
38 'decorators-legacy',
39 ],
40 importOrderSeparation: false,
41 importOrderSortSpecifiers: true,
42};