We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2ec73 commit b826b8bCopy full SHA for b826b8b
.prettierrc.mjs
@@ -11,7 +11,16 @@ const config = {
11
useTabs: false,
12
bracketSameLine: false,
13
endOfLine: 'auto',
14
- plugins: ['prettier-plugin-tailwindcss'],
+ plugins: [
15
+ 'prettier-plugin-tailwindcss',
16
+ '@ianvs/prettier-plugin-sort-imports',
17
+ ],
18
+ importOrder: [
19
+ '<BUILTIN_MODULES>', // Node.js built-in modules
20
+ '<THIRD_PARTY_MODULES>', // Imports not matched by other special words or groups.
21
+ '^(@src)(/.*)$',
22
+ '^[.]', // relative imports
23
24
};
25
26
export default config;
0 commit comments