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 eslint and prettier packages #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 8, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) 7.30.0 -> 7.32.0 age adoption passing confidence
eslint-config-prettier 8.3.0 -> 8.10.0 age adoption passing confidence
eslint-plugin-import 2.23.4 -> 2.29.1 age adoption passing confidence
eslint-plugin-prettier 3.4.0 -> 3.4.1 age adoption passing confidence
prettier (source) 2.3.2 -> 2.8.8 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v7.32.0

Compare Source

v7.31.0

Compare Source

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

v8.10.0

Compare Source

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

v8.9.0

Compare Source

  • Added: [vue/array-element-newline]. Thanks to @​xcatliu!

v8.8.0

Compare Source

v8.7.0

Compare Source

v8.6.0

Compare Source

  • Added: [vue/multiline-ternary]. Thanks to @​xcatliu!

v8.5.0

Compare Source

v8.4.0

Compare Source

import-js/eslint-plugin-import (eslint-plugin-import)

v2.29.1

Compare Source

Fixed

v2.29.0

Compare Source

Added

v2.28.1

Compare Source

Fixed
Changed

v2.28.0

Compare Source

Fixed
  • [no-duplicates]: remove duplicate identifiers in duplicate imports ([#​2577], thanks [@​joe-matsec])
  • [consistent-type-specifier-style]: fix accidental removal of comma in certain cases ([#​2754], thanks [@​bradzacher])
  • [Perf] ExportMap: Improve ExportMap.for performance on larger codebases ([#​2756], thanks [@​leipert])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#​1820], thanks [@​andyogo])
  • [newline-after-import]/TypeScript: do not error when re-exporting a namespaced import ([#​2832], thanks [@​laurens-dg])
  • [order]: partial fix for [#​2687] (thanks [@​ljharb])
  • [no-duplicates]: Detect across type and regular imports ([#​2835], thanks [@​benkrejci])
  • [extensions]: handle . and .. properly ([#​2778], thanks [@​benasher44])
  • [no-unused-modules]: improve schema (thanks [@​ljharb])
  • [no-unused-modules]: report error on binding instead of parent export ([#​2842], thanks [@​Chamion])
Changed
  • [Docs] [no-duplicates]: fix example schema ([#​2684], thanks [@​simmo])
  • [Docs] [group-exports]: fix syntax highlighting ([#​2699], thanks [@​devinrhode2])
  • [Docs] [extensions]: reference node ESM behavior ([#​2748], thanks [@​xM8WVqaG])
  • [Refactor] [exports-last]: use array.prototype.findlastindex (thanks [@​ljharb])
  • [Refactor] [no-anonymous-default-export]: use object.fromentries (thanks [@​ljharb])
  • [Refactor] [no-unused-modules]: use array.prototype.flatmap (thanks [@​ljharb])

v2.27.5

Compare Source

Fixed

v2.27.4

Compare Source

Fixed
  • semver should be a prod dep ([#​2668])

v2.27.3

Compare Source

Fixed
  • [no-empty-named-blocks]: rewrite rule to only check import declarations ([#​2666])

v2.27.2

Compare Source

Fixed
  • [no-duplicates]: do not unconditionally require typescript ([#​2665])

v2.27.1

Compare Source

Fixed

v2.27.0

Compare Source

Added
Fixed
Changed

v2.26.0

Compare Source

Added
  • [no-named-default], [no-default-export], [prefer-default-export], [no-named-export], [export], [named], [namespace], [no-unused-modules]: support arbitrary module namespace names ([#​2358], thanks [@​sosukesuzuki])
  • [no-dynamic-require]: support dynamic import with espree ([#​2371], thanks [@​sosukesuzuki])
  • [no-relative-packages]: add fixer ([#​2381], thanks [@​forivall])
Fixed
  • [default]: typescript-eslint-parser: avoid a crash on exporting as namespace (thanks [@​ljharb])
  • [export]/TypeScript: false positive for typescript namespace merging ([#​1964], thanks [@​magarcia])
  • [no-duplicates]: ignore duplicate modules in different TypeScript module declarations ([#​2378], thanks [@​remcohaszing])
  • [no-unused-modules]: avoid a crash when processing re-exports ([#​2388], thanks [@​ljharb])
Changed

v2.25.4

Compare Source

Fixed
Changed
  • [no-default-import]: report on the token "default" instead of the entire node ([#​2299], thanks [@​pmcelhaney])
  • [Docs] [order]: Remove duplicate mention of default ([#​2280], thanks [@​johnthagen])
  • [Deps] update eslint-module-utils

v2.25.3

Compare Source

Fixed
Changed

v2.25.2

Compare Source

Fixed

v2.25.1

Compare Source

Fixed
  • [Deps] update eslint-module-utils

v2.25.0

Compare Source

Added
Fixed
Changed
  • [Refactor] switch to an internal replacement for pkg-up and read-pkg-up ([#​2047], thanks [@​mgwalker])
  • [patch] TypeScript config: remove .d.ts from [import/parsers setting] and [import/extensions setting] ([#​2220], thanks [@​jablko])
  • [Refactor] [no-unresolved], [no-extraneous-dependencies]: moduleVisitor usage ([#​2233], thanks [@​jablko])

v2.24.2

Compare Source

Fixed
  • [named], [namespace]: properly handle ExportAllDeclarations ([#​2199], thanks [@​ljharb])

v2.24.1

Compare Source

Fixed
Changed

v2.24.0

Compare Source

Added
Fixed
  • [no-duplicates]: ensure autofix avoids excessive newlines ([#​2028], thanks [@​ertrzyiks])
  • [extensions]: avoid crashing on partially typed import/export statements ([#​2118], thanks [@​ljharb])
  • [no-extraneous-dependencies]: add ESM intermediate package.json support ([#​2121], thanks [@​paztis])
  • Use context.getPhysicalFilename() when available (ESLint 7.28+) ([#​2160], thanks [@​pmcelhaney])
  • [extensions]/importType: fix isScoped treating @​/abc as scoped module ([#​2146], thanks [@​rperello])
Changed
prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v3.4.1

Compare Source

prettier/prettier (prettier)

v2.8.8

Compare Source

This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.

v2.8.7

Compare Source

diff

Allow multiple decorators on same getter/setter (#​14584 by @​fisker)
// Input
class A {
  @​decorator()
  get foo () {}
  
  @​decorator()
  set foo (value) {}
}

// Prettier 2.8.6
SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3)
  3 |   get foo () {}
  4 |   
> 5 |   @​decorator()
    |   ^^^^^^^^^^^^
  6 |   set foo (value) {}
  7 | }

// Prettier 2.8.7
class A {
  @​decorator()
  get foo() {}

  @​decorator()
  set foo(value) {}
}

v2.8.6

Compare Source

diff

Allow decorators on private members and class expressions (#​14548 by @​fisker)
// Input
class A {
  @​decorator()
  #privateMethod () {}
}

// Prettier 2.8.5
SyntaxError: Decorators are not valid here. (2:3)
  1 | class A {
> 2 |   @​decorator()
    |   ^^^^^^^^^^^^
  3 |   #privateMethod () {}
  4 | }

// Prettier 2.8.6
class A {
  @​decorator()
  #privateMethod() {}
}

v2.8.5

Compare Source

diff

Support TypeScript 5.0 (#​14391 by @​fisker, #​13819 by @​fisker, @​sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

  • const modifiers for type parameters
  • export type * declarations
Add missing parentheses for decorator (#​14393 by @​fisker)
// Input
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}

// Prettier 2.8.4
class Person {
  @​myDecoratorArray[0]
  greet() {}
}

// Prettier 2.8.5
class Person {
  @​(myDecoratorArray[0])
  greet() {}
}
Add parentheses for TypeofTypeAnnotation to improve readability (#​14458 by @​fisker)
// Input
type A = (typeof node.children)[];

// Prettier 2.8.4
type A = typeof node.children[];

// Prettier 2.8.5
type A = (typeof node.children)[];
Support max_line_length=off when parsing .editorconfig (#​14516 by @​josephfrazier)

If an .editorconfig file is in your project and it sets max_line_length=off for the file you're formatting,
it will be interpreted as a printWidth of Infinity rather than being ignored
(which previously resulted in the default printWidth of 80 being applied, if not overridden by Prettier-specific configuration).

<!-- Input -->
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>

<!-- Prettier 2.8.4 -->
<div
  className="HelloWorld"
  title={`You are visitor number ${num}`}
  onMouseOver={onMouseOver}
/>;

<!-- Prettier 2.8.5 -->
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />;

v2.8.4

Compare Source

diff

Fix leading comments in mapped types with readonly (#​13427 by @​thorn0, @​sosukesuzuki)
// Input
type Type = {
  // comment
  readonly [key in Foo];
};

// Prettier 2.8.3
type Type = {
  readonly // comment
  [key in Foo];
};

// Prettier 2.8.4
type Type = {
  // comment
  readonly [key in Foo];
};
Group params in opening block statements (#​14067 by @​jamescdavis)

This is a follow-up to #​13930 to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.

{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
  Hello
{{else block param param param param param param param param param param as |blockParam|}}
  There
{{/block}}

{{! Prettier 2.8.3 }}
{{#block
  param
  param
  param
  param
  param
  param
  param
  param
  param
  param
  as |blockParam|
}}
  Hello
{{else block param
param
param
param
param
param
param
param
param
param}}
  There
{{/block}}

{{! Prettier 2.8.4 }}
{{#block
  param param param param param param param param param param
  as |blockParam|
}}
  Hello
{{else block
  param param param param param param param param param param
  as |blockParam|
}}
  There
{{/block}}
Ignore files in .sl/ (#​14206 by @​bolinfest)

In Sapling SCM, .sl/ is the folder where it stores its state, analogous to .git/ in Git. It should be ignored in Prettier like the other SCM folders.

Recognize @satisfies in Closure-style type casts (#​14262 by @​fisker)
// Input
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});

// Prettier 2.8.3
const a = /** @&#8203;satisfies {Record<string, string>} */ { hello: 1337 };
const b = /** @&#8203;type {Record<string, string>} */ ({ hello: 1337 });

// Prettier 2.8.4
const a = /** @&#8203;satisfies {Record<string, string>} */ ({hello: 1337});
const b = /** @&#8203;type {Record<string, string>} */ ({hello: 1337});
Fix parens in inferred function return types with extends (#​14279 by @​fisker)
// Input
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;

// Prettier 2.8.3 (First format)
type Foo<T> = T extends (a) => a is infer R extends string ? R : never;

// Prettier 2.8.3 (Second format)
SyntaxError: '?' expected. 

// Prettier 2.8.4
type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never;

v2.8.3

Compare Source

diff

Allow self-closing tags on custom elements (#​14170 by @​fisker)

See Angular v15.1.0 release note for details.

// Input
<app-test/>

// Prettier 2.8.2
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 | <app-test/>
    | ^^^^^^^^^
  2 |

// Prettier 2.8.3
<app-test />

v2.8.2

Compare Source

diff

Don't lowercase link references (#​13155 by @​DerekNonGeneric & @​fisker)
<!-- Input -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[Keep a Changelog]: https://example.com/

<!-- Prettier 2.8.1 -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[keep a changelog]: https://example.com/
<!--
^^^^^^^^^^^^^^^^^^ lowercased
-->

<!-- Prettier 2.8.2 -->
<Same as input>
Preserve self-closing tags (#​13691 by @​dcyriller)
{{! Input }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component></Component>

{{! Prettier 2.8.1 }}
<div></div>
<div></div>
<custom-component></custom-component>
<custom-component></custom-component>
<i></i>
<i></i>
<Component />
<Component />

{{! Prettier 2.8.2 }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component />
Allow custom "else if"-like blocks with block params (#​13930 by @​jamescdavis)

#​13507 added support for custom block keywords used with else, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.

{{! Input }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.1 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.2 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}
Preserve empty lines between nested SCSS maps (#​13931 by @​jneander)
/* Input */
$map: (
  'one': (
     'key': 'value',
  ),

  'two': (
    

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/podium-lib/test-utils).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOC4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjI3LjIiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->

@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 9bf0eb4 to dbf2dd7 Compare February 19, 2022 12:02
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from dbf2dd7 to 38d1661 Compare March 2, 2022 21:01
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 38d1661 to 3c78045 Compare March 16, 2022 04:35
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 3c78045 to a9b262c Compare March 25, 2022 05:22
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch 2 times, most recently from 28a91d1 to 248e154 Compare April 5, 2022 20:45
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch 5 times, most recently from ccd6384 to 37db922 Compare May 9, 2022 12:33
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch 2 times, most recently from 20c4c9f to 8cf9ebc Compare June 16, 2022 12:06
@renovate renovate bot changed the title chore(deps): update eslint and prettier packages chore(deps): update ESlint and Prettier packages Jun 27, 2022
@renovate renovate bot changed the title chore(deps): update ESlint and Prettier packages chore(deps): update eslint and prettier packages Jun 28, 2022
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 8cf9ebc to 39566ae Compare September 11, 2022 21:11
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 39566ae to eb7f9bd Compare March 16, 2023 13:44
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from eb7f9bd to 4c3f191 Compare March 24, 2023 19:39
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 4c3f191 to f34ba1f Compare May 28, 2023 11:13
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch 3 times, most recently from b88e485 to 1a3376a Compare August 3, 2023 07:41
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 1a3376a to f416661 Compare August 18, 2023 22:19
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from f416661 to 248bde4 Compare October 23, 2023 07:53
@renovate renovate bot force-pushed the renovate/eslint-and-prettier-packages branch from 248bde4 to b983002 Compare December 14, 2023 19:02
Copy link
Contributor Author

renovate bot commented Jun 25, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot changed the title chore(deps): update eslint and prettier packages chore(deps): update eslint and prettier packages - autoclosed Jun 25, 2024
@renovate renovate bot closed this Jun 25, 2024
@renovate renovate bot deleted the renovate/eslint-and-prettier-packages branch June 25, 2024 10:59
@renovate renovate bot restored the renovate/eslint-and-prettier-packages branch June 28, 2024 18:23
@renovate renovate bot changed the title chore(deps): update eslint and prettier packages - autoclosed chore(deps): update eslint and prettier packages Jun 28, 2024
@renovate renovate bot reopened this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants