last commit before trying out opencode on repo
This commit is contained in:
@@ -5,42 +5,42 @@
|
||||
/** @type { PrettierConfig | SortImportsConfig | TailwindConfig } */
|
||||
const config = {
|
||||
singleQuote: true,
|
||||
trailingComma: "all",
|
||||
trailingComma: 'all',
|
||||
tabWidth: 2,
|
||||
printWidth: 80,
|
||||
plugins: [
|
||||
"@ianvs/prettier-plugin-sort-imports",
|
||||
"prettier-plugin-tailwindcss",
|
||||
'@ianvs/prettier-plugin-sort-imports',
|
||||
'prettier-plugin-tailwindcss',
|
||||
],
|
||||
tailwindFunctions: ["cn", "cva"],
|
||||
tailwindFunctions: ['cn', 'cva'],
|
||||
importOrder: [
|
||||
"<TYPES>",
|
||||
"^(react/(.*)$)|^(react$)|^(react-native(.*)$)",
|
||||
"^(next/(.*)$)|^(next$)",
|
||||
"^(expo(.*)$)|^(expo$)",
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
"",
|
||||
"<TYPES>^@gib",
|
||||
"^@gib/(.*)$",
|
||||
"",
|
||||
"<TYPES>^[.|..|~]",
|
||||
"^~/",
|
||||
"^[../]",
|
||||
"^[./]",
|
||||
'<TYPES>',
|
||||
'^(react/(.*)$)|^(react$)|^(react-native(.*)$)',
|
||||
'^(next/(.*)$)|^(next$)',
|
||||
'^(expo(.*)$)|^(expo$)',
|
||||
'<THIRD_PARTY_MODULES>',
|
||||
'',
|
||||
'<TYPES>^@gib',
|
||||
'^@gib/(.*)$',
|
||||
'',
|
||||
'<TYPES>^[.|..|~]',
|
||||
'^~/',
|
||||
'^[../]',
|
||||
'^[./]',
|
||||
],
|
||||
importOrderParserPlugins: ["typescript", "jsx", "decorators-legacy"],
|
||||
importOrderTypeScriptVersion: "5.0.0",
|
||||
importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'],
|
||||
importOrderTypeScriptVersion: '5.0.0',
|
||||
overrides: [
|
||||
{
|
||||
files: "*.json.hbs",
|
||||
files: '*.json.hbs',
|
||||
options: {
|
||||
parser: "json",
|
||||
parser: 'json',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: "*.ts.hbs",
|
||||
files: '*.ts.hbs',
|
||||
options: {
|
||||
parser: "babel",
|
||||
parser: 'babel',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user