@storm-software/eslint 0.169.89 → 0.169.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preset.js CHANGED
@@ -7209,12 +7209,15 @@ async function pnpm(options = {}) {
7209
7209
  // src/configs/prettier.ts
7210
7210
  init_esm_shims();
7211
7211
  import defu6 from "defu";
7212
- import config2 from "eslint-config-prettier/flat";
7212
+ import config2 from "eslint-plugin-prettier/recommended";
7213
7213
  async function prettier() {
7214
7214
  return [
7215
7215
  defu6(
7216
7216
  {
7217
7217
  name: "storm/prettier",
7218
+ plugins: {
7219
+ prettier: default8
7220
+ },
7218
7221
  rules: {
7219
7222
  "prettier/prettier": "error",
7220
7223
  "arrow-body-style": "off",
package/dist/types.d.ts CHANGED
@@ -3933,6 +3933,10 @@ Backward pagination arguments
3933
3933
  * @see https://eslint.org/docs/latest/rules/preserve-caught-error
3934
3934
  */
3935
3935
  'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>
3936
+ /**
3937
+ * @see https://github.com/prettier/eslint-plugin-prettier#options
3938
+ */
3939
+ 'prettier/prettier'?: Linter.RuleEntry<PrettierPrettier>
3936
3940
  /**
3937
3941
  * Require quotes around object literal property names
3938
3942
  * @see https://eslint.org/docs/latest/rules/quote-props
@@ -14354,6 +14358,40 @@ type PreserveCaughtError = []|[{
14354
14358
 
14355
14359
  requireCatchParameter?: boolean
14356
14360
  }]
14361
+ // ----- prettier/prettier -----
14362
+ type PrettierPrettier = []|[{
14363
+ [k: string]: unknown | undefined
14364
+ }]|[{
14365
+ [k: string]: unknown | undefined
14366
+ }, {
14367
+ usePrettierrc?: boolean
14368
+ fileInfoOptions?: {
14369
+ [k: string]: unknown | undefined
14370
+ }
14371
+ }]|[{
14372
+ [k: string]: unknown | undefined
14373
+ }, {
14374
+ usePrettierrc?: boolean
14375
+ fileInfoOptions?: {
14376
+ [k: string]: unknown | undefined
14377
+ }
14378
+ }, {
14379
+ [k: string]: unknown | undefined
14380
+ }]|[{
14381
+ [k: string]: unknown | undefined
14382
+ }, {
14383
+ usePrettierrc?: boolean
14384
+ fileInfoOptions?: {
14385
+ [k: string]: unknown | undefined
14386
+ }
14387
+ }, {
14388
+ [k: string]: unknown | undefined
14389
+ }, {
14390
+ usePrettierrc?: boolean
14391
+ fileInfoOptions?: {
14392
+ [k: string]: unknown | undefined
14393
+ }
14394
+ }]
14357
14395
  // ----- quote-props -----
14358
14396
  type QuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
14359
14397
  keywords?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.169.89",
3
+ "version": "0.169.90",
4
4
  "type": "module",
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -241,5 +241,5 @@
241
241
  },
242
242
  "publishConfig": { "access": "public" },
243
243
  "sideEffects": false,
244
- "gitHead": "b0785c83abfcdad80caf70edb6ff87ace9b049ba"
244
+ "gitHead": "cc7301f689667de21c36e1b937613d402a8355dc"
245
245
  }