- Progress

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-04-09 16:32:26 -04:00
parent 15c9529885
commit 6b9269eb2d
8 changed files with 29 additions and 145 deletions

View File

@@ -1,21 +1,3 @@
// Original Version
// exports.default = {
// printWidth: 120,
// useTabs: false,
// tabWidth: 2,
// trailingComma: 'es5',
// semi: true,
// singleQuote: false,
// bracketSpacing: true,
// arrowParens: 'always',
// jsxSingleQuote: false,
// bracketSameLine: false,
// endOfLine: 'lf',
// importOrder: ['^@core/(.*)$', '^@server/(.*)$', '^@ui/(.*)$', '^[./]'],
// importOrderSeparation: true,
// importOrderSortSpecifiers: true,
// };
// Modified Version (Works with current Changeset, minus files modified recently)
const config = {
printWidth: 120,
@@ -35,24 +17,3 @@ const config = {
};
module.exports = config;
// The warnings you're seeing are because the options importOrder, importOrderSeparation, and importOrderSortSpecifiers are not recognized by Prettier. These options are specific to the @trivago/prettier-plugin-sort-imports plugin, which you have removed from your Prettier configuration. To resolve these warnings, you should remove these options from your .prettierrc.js file. Here's how your updated .prettierrc.js file should look:
// const config = {
// printWidth: 120,
// useTabs: false,
// tabWidth: 2,
// trailingComma: "es5",
// semi: true,
// singleQuote: true,
// bracketSpacing: true,
// arrowParens: "always",
// jsxSingleQuote: false,
// bracketSameLine: false,
// endOfLine: "lf",
// importOrder: ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
// importOrderSeparation: true,
// importOrderSortSpecifiers: true
// };
//
// module.exports = config;