Commit b9036c8
chore: align ESLint with @vue/eslint-config-typescript v14 (#72)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[@vue/eslint-config-typescript](https://redirect.github.com/vuejs/eslint-config-typescript)
| [`^11.0.3` ->
`^14.0.0`](https://renovatebot.com/diffs/npm/@vue%2feslint-config-typescript/11.0.3/14.6.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vuejs/eslint-config-typescript
(@​vue/eslint-config-typescript)</summary>
###
[`v14.6.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.6.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.5.1...v14.6.0)
#### New Features
- feat: `allowComponentTypeUnsafety` option to configure the strictness
of `no-unsafe-*` rules by
[@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​185](https://redirect.github.com/vuejs/eslint-config-typescript/pull/185)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.5.1...v14.6.0>
###
[`v14.5.1`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.5.1)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.5.0...v14.5.1)
#### Notable Changes
- fix: ensure there's only one instance of `eslint-plugin-vue` in the
config, to avoid `Cannot redefine plugin "vue"` errors by
[@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​184](https://redirect.github.com/vuejs/eslint-config-typescript/pull/184)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.5.0...v14.5.1>
###
[`v14.5.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.5.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.4.0...v14.5.0)
#### What's Changed
- chore(deps): update dependency `vue-eslint-parser` to v10 by
[@​renovate](https://redirect.github.com/renovate) in
[#​157](https://redirect.github.com/vuejs/eslint-config-typescript/pull/157)
- chore(deps): expand peer dependency `eslint-plugin-vue` version range
to allow v10 by [@​renovate](https://redirect.github.com/renovate)
in
[#​156](https://redirect.github.com/vuejs/eslint-config-typescript/pull/156)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.4.0...v14.5.0>
###
[`v14.4.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.4.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.3.0...v14.4.0)
#### What's Changed
- A `tsSyntaxInTemplates` configuration field, so that linting can be
sped up by disabling it by
[@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​142](https://redirect.github.com/vuejs/eslint-config-typescript/pull/142)
- Proper handling of [the `extends` field, which is supported in
`typescript-eslint`](https://typescript-eslint.io/packages/typescript-eslint#flat-config-extends),
fixes
[#​136](https://redirect.github.com/vuejs/eslint-config-typescript/issues/136)
by [@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​143](https://redirect.github.com/vuejs/eslint-config-typescript/pull/143)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.3.0...v14.4.0>
###
[`v14.3.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.3.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.2.0...v14.3.0)
#### New Features
- A completely new approach to set up the ESLint configurations with
helpers like `defineConfigWithVueTs` and `vueTsConfigs`.
Please read [the
documentation](https://redirect.github.com/vuejs/eslint-config-typescript/tree/v14.3.0?tab=readme-ov-file#usage)
for more details.
With this new API set, you can easily override type-aware linting rules
without worrying its position in the config array. Therefore there would
be fewer mysterious errors or slowdown in a heavily customized project.
> \[!NOTE]
> The old style `...vueTsEslintConfig()` still works, there's no need to
update to the new style if that has been working well in your project.
#### Bug Fixes
- fix: typo in index.ts by
[@​aparajita](https://redirect.github.com/aparajita) in
[#​128](https://redirect.github.com/vuejs/eslint-config-typescript/pull/128)
#### New Contributors
- [@​aparajita](https://redirect.github.com/aparajita) made their
first contribution in
[#​128](https://redirect.github.com/vuejs/eslint-config-typescript/pull/128)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.2.0...v14.3.0>
###
[`v14.2.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.2.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.4...v14.2.0)
#### What's Changed
- fix: add absolute path for reading file contents, fix `rootDir` issue
by [@​markieo1](https://redirect.github.com/markieo1) in
[#​108](https://redirect.github.com/vuejs/eslint-config-typescript/pull/108)
- ~~feat: add a `defineConfig` utility function and use it in examples
by [@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​117](https://redirect.github.com/vuejs/eslint-config-typescript/pull/117)~~
Don't use this feature yet, it's under active refactoring for better
usability.
#### New Contributors
- [@​markieo1](https://redirect.github.com/markieo1) made their
first contribution in
[#​108](https://redirect.github.com/vuejs/eslint-config-typescript/pull/108)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.1.4...v14.2.0>
###
[`v14.1.4`](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.3...v14.1.4)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.3...v14.1.4)
###
[`v14.1.3`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.1.3)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.2...v14.1.3)
#### What's Changed
- docs: add missing curly bracket in example config by
[@​henribru](https://redirect.github.com/henribru) in
[#​93](https://redirect.github.com/vuejs/eslint-config-typescript/pull/93)
- fix: skip typechecking cjs and mjs files by
[@​henribru](https://redirect.github.com/henribru) in
[#​94](https://redirect.github.com/vuejs/eslint-config-typescript/pull/94)
#### New Contributors
- [@​henribru](https://redirect.github.com/henribru) made their
first contribution in
[#​93](https://redirect.github.com/vuejs/eslint-config-typescript/pull/93)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.1.2...v14.1.3>
###
[`v14.1.2`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.1.2)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.1...v14.1.2)
#### Bug Fixes
- Print more friendly error messages if the user provides a non-existent
configuration name to `extends`.
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.1.1...v14.1.2>
###
[`v14.1.1`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.1.1)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.1.0...v14.1.1)
#### Bug Fixes
- Fixed
[#​91](https://redirect.github.com/vuejs/eslint-config-typescript/issues/91)
> `TypeError: Config "typescript-eslint/disable-type-checked": Key
"files": Expected value to be a non-empty array"`
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.1.0...v14.1.1>
###
[`v14.1.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.1.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.0.1...v14.1.0)
#### New Features
- feat: simplify the `*TypeChecked` configs by providing a meaningful
and performant default by
[@​haoqunjiang](https://redirect.github.com/haoqunjiang) in
[#​89](https://redirect.github.com/vuejs/eslint-config-typescript/pull/89)
#### Bug Fixes
- fix: add the missing dot to extraFileExtensions by
[@​jfrs](https://redirect.github.com/jfrs) in
[#​90](https://redirect.github.com/vuejs/eslint-config-typescript/pull/90)
#### New Contributors
- [@​jfrs](https://redirect.github.com/jfrs) made their first
contribution in
[#​90](https://redirect.github.com/vuejs/eslint-config-typescript/pull/90)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.0.1...v14.1.0>
###
[`v14.0.1`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.0.1)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v14.0.0...v14.0.1)
#### Bugfixes
- Fixed an occasional bug that when using with npm or yarn v1, an
`invalid ecmaVersion` error would be thrown if the wrong version of
`estree` is hoisted to the `node_modules` root. Fixes
[#​87](https://redirect.github.com/vuejs/eslint-config-typescript/issues/87).
[\[aae95d6\]](https://redirect.github.com/vuejs/eslint-config-typescript/commit/aae95d6)
#### New Contributors
- [@​bmulholland](https://redirect.github.com/bmulholland) made
their first contribution in
[#​84](https://redirect.github.com/vuejs/eslint-config-typescript/pull/84)
- [@​50Wliu](https://redirect.github.com/50Wliu) made their first
contribution in
[#​86](https://redirect.github.com/vuejs/eslint-config-typescript/pull/86)
**Full Changelog**:
<vuejs/eslint-config-typescript@v14.0.0...v14.0.1>
###
[`v14.0.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v14.0.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v13.0.0...v14.0.0)
#### What's Changed
- Added support for ESLint Flat Config
[#​81](https://redirect.github.com/vuejs/eslint-config-typescript/pull/81)
- Dropped support for the legacy `.eslintrc*` configuration format. If
you need that, please stay on version 13, which is also tagged as
[`@vue/eslint-config-typescript@legacy-eslintrc`](https://www.npmjs.com/package/@​vue/eslint-config-typescript/v/legacy-eslintrc).
- The default configuration now extends from
[`tseslint.configs.recommended`](https://typescript-eslint.io/users/configs#recommended)
instead of `eslint-recommended`.
**Full Changelog**:
<vuejs/eslint-config-typescript@v13.0.0...v14.0.0>
###
[`v13.0.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v13.0.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v12.0.0...v13.0.0)
#### Notable Changes
`typescript-eslint` is upgraded to v7.x. The full release notes can be
found in their release blog:
<https://typescript-eslint.io/blog/announcing-typescript-eslint-v7>
It's a small major release that only updates some peer dependency
version requirements:
- Requires Node.js >= 18.18, TypeScript >= 4.7.4, ESLint >= 8.56
###
[`v12.0.0`](https://redirect.github.com/vuejs/eslint-config-typescript/releases/tag/v12.0.0)
[Compare
Source](https://redirect.github.com/vuejs/eslint-config-typescript/compare/v11.0.3...v12.0.0)
#### Notable Changes
`typescript-eslint` is upgraded to v6.x. The full release notes can be
found in their release blog:
<https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/>
Here are some notable changes you might encounter when upgrading
`@vue/eslint-config-typescript` from v11 to v12:
- Requires Node.js >= 16, TypeScript >= 4.2.4, ESLint >= 7
- The default config:
- [`valid-typeof` rule is re-enabled because it's not always covered by
TypeScript](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/5381)
- The `recommended` config:
- No longer includes stylistic rules; because the upstream
`@typescript-eslint/eslint-plugin` has split them into standalone
configs.
- Some rules' severity levels are changed from `warn` to `error`, such
as `@typescript-eslint/no-unused-vars`.
- A more complete list of changes can be found at
<https://redirect.github.com/typescript-eslint/typescript-eslint/discussions/6014>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am" in timezone UTC,
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS41MS4wIiwidXBkYXRlZEluVmVyIjoiNDEuODIuNiIsInRhcmdldEJyYW5jaCI6ImRlcHMtbWFpbiIsImxhYmVscyI6WyJtYWpvci11cGRhdGUiLCJub2RlanMiXX0=-->
---------
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>1 parent 61856f0 commit b9036c8
23 files changed
Lines changed: 5103 additions & 2760 deletions
File tree
- services/frontend
- apps
- admin-app
- chat-app
- libs
- admin-app
- chat-app
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
206 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
| |||
317 | 325 | | |
318 | 326 | | |
319 | 327 | | |
320 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
321 | 334 | | |
322 | 335 | | |
323 | 336 | | |
| |||
331 | 344 | | |
332 | 345 | | |
333 | 346 | | |
334 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
335 | 352 | | |
336 | 353 | | |
337 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
43 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 2 | + | |
| 3 | + | |
17 | 4 | | |
0 commit comments