๐Ÿ“ฆ mui / tech-challenge-react

๐Ÿ“„ prettier.config.js ยท 22 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22module.exports = {
  printWidth: 100,
  singleQuote: true,
  trailingComma: 'all',
  overrides: [
    {
      files: '*.d.ts',
      options: {
        // This is needed for TypeScript 3.2 support
        trailingComma: 'es5',
      },
    },
    {
      files: ['docs/**/*.md', 'docs/src/pages/**/*.{js,tsx}'],
      options: {
        // otherwise code blocks overflow on the docs website
        printWidth: 85,
      },
    },
  ],
};