Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update linters #54

Merged
merged 1 commit into from
Aug 6, 2023
Merged

chore(deps): update linters #54

merged 1 commit into from
Aug 6, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier 8.9.0 -> 8.10.0 age adoption passing confidence
prettier (source) 3.0.0 -> 3.0.1 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier (eslint-config-prettier)

v8.10.0

Compare Source

  • Added: [max-statements-per-line]. Thanks to @​Zamiell!
prettier/prettier (prettier)

v3.0.1

Compare Source

diff

Fix cursor positioning for a special case (#​14812 by @​fisker)
// <|> is the cursor position

/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>  } from "fs"

/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"

/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
Fix plugins/estree.d.ts to make it a module (#​15018 by @​kingyue737)

Add export {} in plugins/estree.d.ts to fix the "File is not a module" error

Add parenthesis around leading multiline comment in return statement (#​15037 by @​auvred)
// Input
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  )
}

// Prettier 3.0.0
function fn() {
  return /**
   * @&#8203;type {...}
   */ expresssion;
}

// Prettier 3.0.1
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  );
}
Add support for Vue "Generic Components" (#​15066 by @​auvred)

https://blog.vuejs.org/posts/vue-3-3#generic-components

<!-- Input -->
<script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script>

<!-- Prettier 3.0.0 -->
<script
  setup
  lang="ts"
  generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"
></script>

<!-- Prettier 3.0.1 -->
<script
  setup
  lang="ts"
  generic="
    T extends Type1 & Type2 & (Type3 | Type4),
    U extends string | number | boolean
  "
></script>
Fix comments print in IfStatement (#​15076 by @​fisker)
function a(b) {
  if (b) return 1; // comment
  else return 2;
}

/* Prettier 3.0.0 */
Error: Comment "comment" was not printed. Please report this error!

/* Prettier 3.0.1 */
function a(b) {
  if (b) return 1; // comment
  else return 2;
}
Add missing type definition for printer.preprocess (#​15123 by @​so1ve)
export interface Printer<T = any> {
  // ...
+ preprocess?:
+   | ((ast: T, options: ParserOptions<T>) => T | Promise<T>)
+   | undefined;
}
Add missing getVisitorKeys method type definition for Printer (#​15125 by @​auvred)
const printer: Printer = {
  print: () => [],
  getVisitorKeys(node, nonTraversableKeys) {
    return ["body"];
  },
};
Add typing to support readonly array properties of AST Node (#​15127 by @​auvred)
// Input
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");

// Prettier 3.0.0
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
//                  ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345)

// Prettier 3.0.1
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
Add space before unary minus followed by a function call (#​15129 by @​pamelalozano)
// Input
div {
  margin: - func();
}

// Prettier 3.0.0
div {
  margin: -func();
}

// Prettier 3.0.1
div {
  margin: - func();
}

Configuration

📅 Schedule: Branch creation - "before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from sheerlox as a code owner August 6, 2023 10:16
@renovate renovate bot merged commit 499c6b6 into main Aug 6, 2023
11 checks passed
@renovate renovate bot deleted the renovate/linters branch August 6, 2023 12:28
sheerlox pushed a commit that referenced this pull request Sep 30, 2023
## [6.0.5](v6.0.4...v6.0.5) (2023-09-30)

### 🛠 Builds

* **deps:** update dependency conventional-changelog-conventionalcommits to v7 ([#73](#73)) [skip ci] ([514590f](514590f))

### ⚙️ Continuous Integrations

* **action:** update actions/checkout action to v4 ([#78](#78)) ([eb2c463](eb2c463))
* **action:** update actions/checkout digest to 8ade135 ([#88](#88)) ([d009986](d009986))
* **action:** update actions/checkout digest to f43a0e5 ([#66](#66)) ([6d42c46](6d42c46))
* **action:** update actions/setup-node digest to 5e21ff4 ([#60](#60)) ([1954312](1954312))
* **action:** update actions/setup-node digest to bea5baf ([#58](#58)) ([99f5999](99f5999))
* **action:** use lts node version in release workflow ([a0fb4cf](a0fb4cf))

### ♻️ Chores

* **deps:** lock file maintenance ([#50](#50)) ([c764db0](c764db0))
* **deps:** lock file maintenance ([#52](#52)) ([cea1968](cea1968))
* **deps:** lock file maintenance ([#55](#55)) ([3ba952c](3ba952c))
* **deps:** lock file maintenance ([#57](#57)) ([53f679b](53f679b))
* **deps:** lock file maintenance ([#63](#63)) ([c83a91e](c83a91e))
* **deps:** lock file maintenance ([#69](#69)) ([f150f45](f150f45))
* **deps:** lock file maintenance ([#77](#77)) ([2bed7bf](2bed7bf))
* **deps:** lock file maintenance ([#79](#79)) ([a8c6bfe](a8c6bfe))
* **deps:** lock file maintenance ([#84](#84)) ([4272edc](4272edc))
* **deps:** lock file maintenance ([#85](#85)) ([1728806](1728806))
* **deps:** lock file maintenance ([#89](#89)) ([2815bf9](2815bf9))
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v9.0.5 ([#81](#81)) ([9dc7983](9dc7983))
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v9.0.7 ([#91](#91)) ([64091c1](64091c1))
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v9.1.0 ([#92](#92)) ([9b21f98](9b21f98))
* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/github to v9.2.0 ([#93](#93)) ([53d0beb](53d0beb))
* **deps:** update dependency conventional-changelog to v5 ([#72](#72)) [skip ci] ([3bed8b7](3bed8b7))
* **deps:** update dependency eslint to v8.46.0 ([#53](#53)) ([3c35b00](3c35b00))
* **deps:** update dependency eslint to v8.47.0 ([#59](#59)) ([cb696c8](cb696c8))
* **deps:** update dependency eslint to v8.48.0 ([#70](#70)) ([33a53e2](33a53e2))
* **deps:** update dependency eslint to v8.49.0 ([#80](#80)) ([94d8400](94d8400))
* **deps:** update dependency eslint to v8.50.0 ([#90](#90)) ([06af8d4](06af8d4))
* **deps:** update dependency eslint-config-prettier to v8.9.0 ([#51](#51)) ([6dca508](6dca508))
* **deps:** update dependency eslint-config-prettier to v9 ([#56](#56)) ([1ddc685](1ddc685))
* **deps:** update dependency prettier to v3.0.2 ([#61](#61)) ([4ab6e3b](4ab6e3b))
* **deps:** update dependency prettier to v3.0.3 ([#76](#76)) ([fee89ff](fee89ff))
* **deps:** update dependency semantic-release to v21.1.0 ([#67](#67)) ([5aada2a](5aada2a))
* **deps:** update dependency semantic-release to v21.1.1 ([#68](#68)) ([f4e1ac8](f4e1ac8))
* **deps:** update dependency semantic-release to v21.1.2 ([#87](#87)) ([f506d74](f506d74))
* **deps:** update linters ([#54](#54)) ([499c6b6](499c6b6))
* **deps:** update semantic-release monorepo ([#65](#65)) ([5ef4519](5ef4519))
* **deps:** update semantic-release monorepo ([#71](#71)) ([69ae1b4](69ae1b4))
* **deps:** update semantic-release monorepo ([#74](#74)) ([7d79d2b](7d79d2b))
* **deps:** update semantic-release monorepo ([#75](#75)) ([d25e32c](d25e32c))
* **deps:** update semantic-release monorepo ([#83](#83)) ([b296ffe](b296ffe))
@sheerlox
Copy link
Member

🎉 This PR is included in version 6.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant