@kodehort/prettier-config
Advanced tools
Comparing version 2.0.5 to 2.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = { | ||
exports.baseConfig = void 0; | ||
exports.baseConfig = { | ||
arrowParens: "always", | ||
importOrder: [ | ||
"<BUILTIN_MODULES>", | ||
"", | ||
"<THIRD_PARTY_MODULES>", | ||
"", | ||
"^[~/]", | ||
"^[.]", | ||
], | ||
importOrder: ["<BUILTIN_MODULES>", "", "<THIRD_PARTY_MODULES>", "", "^[.]/"], | ||
importOrderParserPlugins: ["typescript", "jsx", "decorators-legacy"], | ||
@@ -17,7 +11,7 @@ importOrderTypeScriptVersion: "5.0.0", | ||
plugins: [ | ||
require("@ianvs/prettier-plugin-sort-imports"), | ||
require("prettier-plugin-astro"), | ||
require("prettier-plugin-curly"), | ||
import("@ianvs/prettier-plugin-sort-imports"), | ||
import("prettier-plugin-astro"), | ||
import("prettier-plugin-curly"), | ||
require("prettier-plugin-packagejson"), | ||
require("prettier-plugin-tailwindcss"), | ||
import("prettier-plugin-tailwindcss"), | ||
], | ||
@@ -31,3 +25,16 @@ printWidth: 80, | ||
trailingComma: "all", | ||
overrides: [ | ||
{ | ||
files: ["tsconfig.json"], | ||
options: { | ||
parser: "jsonc", | ||
}, | ||
}, | ||
{ | ||
files: "*.astro", | ||
options: { | ||
parser: "astro", | ||
}, | ||
}, | ||
], | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFFQSxrQkFBZTtJQUNiLFdBQVcsRUFBRSxRQUFRO0lBQ3JCLFdBQVcsRUFBRTtRQUNYLG1CQUFtQjtRQUNuQixFQUFFO1FBQ0YsdUJBQXVCO1FBQ3ZCLEVBQUU7UUFDRixPQUFPO1FBQ1AsTUFBTTtLQUNQO0lBQ0Qsd0JBQXdCLEVBQUUsQ0FBQyxZQUFZLEVBQUUsS0FBSyxFQUFFLG1CQUFtQixDQUFDO0lBQ3BFLDRCQUE0QixFQUFFLE9BQU87SUFDckMsY0FBYyxFQUFFLEtBQUs7SUFDckIsT0FBTyxFQUFFO1FBQ1AsT0FBTyxDQUFDLHFDQUFxQyxDQUFDO1FBQzlDLE9BQU8sQ0FBQyx1QkFBdUIsQ0FBQztRQUNoQyxPQUFPLENBQUMsdUJBQXVCLENBQUM7UUFDaEMsT0FBTyxDQUFDLDZCQUE2QixDQUFDO1FBQ3RDLE9BQU8sQ0FBQyw2QkFBNkIsQ0FBQztLQUN2QztJQUNELFVBQVUsRUFBRSxFQUFFO0lBQ2QsU0FBUyxFQUFFLFFBQVE7SUFDbkIsSUFBSSxFQUFFLEtBQUs7SUFDWCxzQkFBc0IsRUFBRSxJQUFJO0lBQzVCLFdBQVcsRUFBRSxJQUFJO0lBQ2pCLFFBQVEsRUFBRSxDQUFDO0lBQ1gsYUFBYSxFQUFFLEtBQUs7Q0FDSSxDQUFDIn0= |
{ | ||
"name": "@kodehort/prettier-config", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "A curated set of prettier configurations that we use across our projects and can be used in your projects.", | ||
"repository": "https://github.com/kodehort/prettier-config", | ||
"license": "MIT", | ||
"author": "Kodehort Limited", | ||
"author": "Alistair Stead", | ||
"exports": { | ||
@@ -9,0 +9,0 @@ ".": { |
4609
4
38