-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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): bump ESLint deps, switch from ts-node -> swc #6339
chore(deps): bump ESLint deps, switch from ts-node -> swc #6339
Conversation
Bumps the eslint group with 11 updates: | Package | From | To | | --- | --- | --- | | [eslint](https://github.com/eslint/eslint) | `8.43.0` | `8.48.0` | | [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `8.7.0` | `9.0.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `4.2.1` | `5.0.0` | | [@typescript-eslint/utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/utils) | `5.59.8` | `6.5.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.59.8` | `6.5.0` | | [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) | `5.59.8` | `6.5.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.59.8` | `6.5.0` | | [eslint-plugin-deprecation](https://github.com/gund/eslint-plugin-deprecation) | `1.4.1` | `1.5.0` | | [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.26.0` | `2.28.1` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `46.2.4` | `46.5.0` | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.32.2` | `7.33.2` | Updates `eslint` from 8.43.0 to 8.48.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.43.0...v8.48.0) Updates `eslint-config-prettier` from 8.7.0 to 9.0.0 - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-config-prettier@v8.7.0...v9.0.0) Updates `eslint-plugin-prettier` from 4.2.1 to 5.0.0 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v4.2.1...v5.0.0) Updates `@typescript-eslint/utils` from 5.59.8 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/utils) Updates `@typescript-eslint/eslint-plugin` from 5.59.8 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin) Updates `@typescript-eslint/eslint-plugin-tslint` from 5.59.8 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-tslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin-tslint) Updates `@typescript-eslint/parser` from 5.59.8 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/parser) Updates `eslint-plugin-deprecation` from 1.4.1 to 1.5.0 - [Release notes](https://github.com/gund/eslint-plugin-deprecation/releases) - [Changelog](https://github.com/gund/eslint-plugin-deprecation/blob/master/CHANGELOG.md) - [Commits](gund/eslint-plugin-deprecation@v1.4.1...v1.5.0) Updates `eslint-plugin-import` from 2.26.0 to 2.28.1 - [Release notes](https://github.com/import-js/eslint-plugin-import/releases) - [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md) - [Commits](import-js/eslint-plugin-import@v2.26.0...v2.28.1) Updates `eslint-plugin-jsdoc` from 46.2.4 to 46.5.0 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](gajus/eslint-plugin-jsdoc@v46.2.4...v46.5.0) Updates `eslint-plugin-react` from 7.32.2 to 7.33.2 - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](jsx-eslint/eslint-plugin-react@v7.32.2...v7.33.2) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint-config-prettier dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: eslint-plugin-prettier dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: "@typescript-eslint/utils" dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: "@typescript-eslint/eslint-plugin-tslint" dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:production update-type: version-update:semver-major dependency-group: eslint - dependency-name: eslint-plugin-deprecation dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint-plugin-import dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint-plugin-jsdoc dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint - dependency-name: eslint-plugin-react dependency-type: direct:production update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <[email protected]>
@@ -3,6 +3,7 @@ | |||
"compilerOptions": { | |||
"lib": ["es6", "dom"], | |||
"module": "commonjs", | |||
"moduleResolution": "node16", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change was required to work with typescript-eslint v6, see typescript-eslint/typescript-eslint#7284
prettierBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
@@ -9,18 +9,19 @@ | |||
"lint": "run-p lint:es", | |||
"lint:es": "es-lint", | |||
"lint-fix": "es-lint --fix", | |||
"test": "mocha" | |||
"test": "SWC_NODE_PROJECT=./tsconfig.test.json mocha --require @swc-node/register --watch-extensions ts,tsx 'test/**/*.{ts,tsx}'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}, | ||
"devDependencies": { | ||
"@blueprintjs/node-build-scripts": "^8.0.1", | ||
"@swc/core": "^1.3.80", | ||
"@swc-node/register": "^1.6.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to work better than ts-node and is more modern. got the suggestion from typescript-eslint/typescript-eslint#7284 (comment)
prettierBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
[stylelint-plugin] adjust lint configBuild artifact links for this commit: documentation | landing | table | demoThis is an automated comment from the deploy-preview CircleCI job. |
Bumps the eslint group with 11 updates:
8.43.0
8.48.0
8.7.0
9.0.0
4.2.1
5.0.0
5.59.8
6.5.0
5.59.8
6.5.0
5.59.8
6.5.0
5.59.8
6.5.0
1.4.1
1.5.0
2.26.0
2.28.1
46.2.4
46.5.0
7.32.2
7.33.2
Updates
eslint
from 8.43.0 to 8.48.0Release notes
Sourced from eslint's releases.
... (truncated)
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
10c4f85
8.48.05013ad7
Build: changelog update for 8.48.08dd3cec
chore: upgrade@eslint/js
@8
.48.0 (#17501)6d0496e
chore: package.json update for@eslint/js
release7a51d77
docs: no-param-reassign mention strict mode (#17494)9cd7ac2
docs: addfetch
script to package.json conventions (#17459)7234f6a
fix: update RuleTester JSDoc and deprecations (#17496)1fbb3b0
feat: correct update direction infor-direction
(#17483)9d4216d
chore: Refactor and document CodePathSegment (#17474)cab21e6
docs: advice for inline disabling of rules (#17458)Updates
eslint-config-prettier
from 8.7.0 to 9.0.0Changelog
Sourced from eslint-config-prettier's changelog.
Commits
1982680
eslint-config-prettier v9.0.0f197969
Do not disable unicode-bom (#250)a8bc57e
Flat config: CLI, tests, docs (#261)baab944
eslint-config-prettier v8.10.0552483b
feat: max-statements-per-line (#263)aa1aa34
eslint-config-prettier v8.9.07d9ed21
Update everything (#260)2a2438e
feat: off vue/array-element-newline (#259)6b48bb2
Bump word-wrap from 1.2.3 to 1.2.4 (#258)311351b
Use matrix.os in check.yml (#251)Updates
eslint-plugin-prettier
from 4.2.1 to 5.0.0Release notes
Sourced from eslint-plugin-prettier's releases.
Changelog
Sourced from eslint-plugin-prettier's changelog.
Commits
b2b93c3
chore: release eslint-plugin-prettier (#569)370e88f
chore: bump deps, use pnpm instead (#568)6878434
chore: release eslint-plugin-prettier (alpha) (#566)ae7a73c
fix: compatibility with prettier@3 without plugins (#564)00449df
chore: release eslint-plugin-prettier (alpha) (#553)82a3db8
fix: add missing dependencysynckit
(#548)ba490d7
chore: add missing worker.js into files477f890
chore: release eslint-plugin-prettier v5.0.0-alpha.0 (#517)910aeb6
feat!: bump eslint, node and prettier versions, add types support (#508)21d87ab
ci use pull_request_target event insteadUpdates
@typescript-eslint/utils
from 5.59.8 to 6.5.0Release notes
Sourced from
@typescript-eslint/utils
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/utils
's changelog.... (truncated)
Commits
4f34d0b
chore: publish v6.5.0ef1367e
chore: publish v6.4.12e1cfd5
chore: upgrade to yarn 3 (#6162)4402db1
fix(utils): [ts-eslint] small type fixes (#7474)14bea42
chore: publish v6.4.0c225b12
fix(utils): remove deprecate tag added in #7460 (#7463)660aff7
fix(utils): add new properties since eslint 8.40.0 (#7460)60df0bb
fix(utils): add to JSONSchema4Type missing Array and Object (#7406)0a1de14
chore: publish v6.3.04087f48
chore: enable consistent-indexed-object-style and lint (#7353)Updates
@typescript-eslint/eslint-plugin
from 5.59.8 to 6.5.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
4f34d0b
chore: publish v6.5.023ac499
fix(eslint-plugin): [consistent-type-assertions] wrap object return value wit...85f34da
docs: add info for no-extra-semi (#7330)ef1367e
chore: publish v6.4.12e1cfd5
chore: upgrade to yarn 3 (#6162)b52658f
fix(eslint-plugin): [no-unnecessary-condition] false positives with branded t...66cc514
chore: enable logical-assignment-operators rule internally (#7484)e1897db
docs: fix typo in member-ordering (#7488)14bea42
chore: publish v6.4.09181252
docs: add note on common misconceptions about type narrowing (#7391)Updates
@typescript-eslint/eslint-plugin-tslint
from 5.59.8 to 6.5.0Release notes
Sourced from
@typescript-eslint/eslint-plugin-tslint
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin-tslint
's changelog.