Skip to content

chore: update dependencies #3859

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -94,10 +90,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -176,10 +168,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -223,10 +211,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -269,10 +253,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -355,10 +335,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down Expand Up @@ -402,10 +378,6 @@ jobs:
yarn --ignore-engines --frozen-lockfile --ignore-scripts
yarn check-clean-workspace-after-install

- name: Patch Dependencies
run: |
yarn patch-package

- name: Build
run: |
yarn build
Expand Down
8 changes: 7 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@
"MD043": false,
// MD044/proper-names - Proper names should have the correct capitalization
"MD044": {
"names": ["JavaScript", "TypeScript", "TSLint", "ESLint"],
"names": [
"JavaScript",
"TypeScript",
"TSLint",
"ESLint",
"typescript-eslint"
],
"code_blocks": false
},
// MD045/no-alt-text - Images should have alternate text (alt text)
Expand Down
70 changes: 34 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lint-markdown-fix": "yarn lint-markdown --fix",
"lint-markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore",
"lint": "eslint . --ext .js,.ts",
"postinstall": "patch-package && yarn husky install && yarn build",
"postinstall": "yarn husky install && yarn build",
"pre-commit": "yarn lint-staged",
"pre-push": "yarn check-format",
"test": "nx run-many --target=test --all --parallel",
Expand Down Expand Up @@ -71,64 +71,62 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@babel/code-frame": "^7.12.13",
"@babel/parser": "^7.15.6",
"@babel/types": "^7.14.4",
"@babel/code-frame": "^7.14.5",
"@babel/parser": "^7.15.7",
"@babel/types": "^7.15.6",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/config-lerna-scopes": "^13.1.0",
"@nrwl/cli": "12.9.0",
"@nrwl/cli": "12.10.0",
"@nrwl/nx-cloud": "12.3.13",
"@nrwl/tao": "12.9.0",
"@nrwl/workspace": "12.9.0",
"@types/babel__code-frame": "^7.0.2",
"@types/debug": "^4.1.5",
"@nrwl/tao": "12.10.0",
"@nrwl/workspace": "12.10.0",
"@types/babel__code-frame": "^7.0.3",
"@types/debug": "^4.1.7",
"@types/eslint-visitor-keys": "^1.0.0",
"@types/glob": "^7.1.3",
"@types/is-glob": "^4.0.1",
"@types/jest": "^27.0.1",
"@types/glob": "^7.1.4",
"@types/is-glob": "^4.0.2",
"@types/jest": "^27.0.2",
"@types/jest-specific-snapshot": "^0.5.5",
"@types/lodash": "^4.14.170",
"@types/marked": "^2.0.3",
"@types/node": "^15.6.1",
"@types/node-fetch": "^3.0.3",
"@types/prettier": "^2.2.3",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.6",
"@types/tmp": "^0.2.0",
"@types/lodash": "^4.14.172",
"@types/marked": "^2.0.5",
"@types/node": "^16.10.9",
"@types/prettier": "^2.3.2",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.3.8",
"@types/tmp": "^0.2.1",
"all-contributors-cli": "^6.20.0",
"cspell": "^5.5.2",
"cspell": "^5.12.3",
"cz-conventional-changelog": "^3.3.0",
"downlevel-dts": "^0.7.0",
"enhanced-resolve": "^5.8.2",
"enhanced-resolve": "^5.8.3",
"eslint": "^8.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-eslint-plugin": "^3.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-eslint-plugin": "^3.6.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.0.5",
"eslint-plugin-simple-import-sort": "^7.0.0",
"glob": "^7.1.7",
"husky": "^7.0.1",
"jest": "^27.0.3",
"husky": "^7.0.2",
"jest": "^27.1.0",
"jest-specific-snapshot": "^5.0.0",
"lerna": "^3.22.1",
"lint-staged": "^11.0.0",
"lint-staged": "^11.1.2",
"make-dir": "^3.1.0",
"markdownlint-cli": "^0.28.1",
"markdownlint-cli": "^0.29.0",
"node-fetch": "^3.0.0",
"patch-package": "^6.4.7",
"prettier": "2.3.2",
"pretty-format": "^27.0.2",
"prettier": "2.4.1",
"pretty-format": "^27.2.5",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.1",
"ts-node": "^10.0.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"typescript": ">=3.3.1 <4.5.0"
},
"resolutions": {
"@types/node": "^15.6.1",
"@types/node": "^16.10.9",
"jest-diff": "^27.0.0",
"pretty-format": "^27.0.0",
"typescript": "4.4.2"
"pretty-format": "^27.2.5",
"typescript": "4.4.4"
}
}
2 changes: 1 addition & 1 deletion packages/ast-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "https://opencollective.com/typescript-eslint"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.15.2",
"@microsoft/api-extractor": "^7.18.16",
"typescript": "*"
}
}
20 changes: 12 additions & 8 deletions packages/eslint-plugin/docs/rules/no-type-alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ type Foo<T, U> =

type Foo<T, U> = { [P in keyof T]?: T[P] } | { [P in keyof U]?: U[P] };

type Foo<T, U> = { readonly [P in keyof T]: T[P] } &
{ readonly [P in keyof U]: U[P] };
type Foo<T, U> = { readonly [P in keyof T]: T[P] } & {
readonly [P in keyof U]: U[P];
};

type Foo<T, U> = { [P in keyof T]?: T[P] } & { [P in keyof U]?: U[P] };
```
Expand All @@ -419,8 +420,9 @@ type Foo<T> = { readonly [P in keyof T]: T[P] };

type Foo<T> = { [P in keyof T]?: T[P] };

type Foo<T, U> = { readonly [P in keyof T]: T[P] } &
{ readonly [P in keyof U]: U[P] };
type Foo<T, U> = { readonly [P in keyof T]: T[P] } & {
readonly [P in keyof U]: U[P];
};

type Foo<T, U> = { [P in keyof T]?: T[P] } & { [P in keyof U]?: U[P] };
```
Expand Down Expand Up @@ -452,8 +454,9 @@ type Foo<T, U> = { [P in keyof T]?: T[P] } | { [P in keyof U]?: U[P] };
Examples of **correct** code for the `{ "allowMappedTypes": "in-intersections" }` option:

```ts
type Foo<T, U> = { readonly [P in keyof T]: T[P] } &
{ readonly [P in keyof U]: U[P] };
type Foo<T, U> = { readonly [P in keyof T]: T[P] } & {
readonly [P in keyof U]: U[P];
};

type Foo<T, U> = { [P in keyof T]?: T[P] } & { [P in keyof U]?: U[P] };
```
Expand All @@ -475,8 +478,9 @@ type Foo<T, U> =

type Foo<T, U> = { [P in keyof T]?: T[P] } | { [P in keyof U]?: U[P] };

type Foo<T, U> = { readonly [P in keyof T]: T[P] } &
{ readonly [P in keyof U]: U[P] };
type Foo<T, U> = { readonly [P in keyof T]: T[P] } & {
readonly [P in keyof U]: U[P];
};

type Foo<T, U> = { [P in keyof T]?: T[P] } & { [P in keyof U]?: U[P] };
```
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@
"dependencies": {
"@typescript-eslint/experimental-utils": "5.0.0",
"@typescript-eslint/scope-manager": "5.0.0",
"debug": "^4.3.1",
"debug": "^4.3.2",
"functional-red-black-tree": "^1.0.1",
"ignore": "^5.1.8",
"regexpp": "^3.1.0",
"regexpp": "^3.2.0",
"semver": "^7.3.5",
"tsutils": "^3.21.0"
},
"devDependencies": {
"@types/debug": "*",
"@types/marked": "*",
"@types/prettier": "*",
"chalk": "^4.1.1",
"marked": "^2.0.6",
"chalk": "^4.1.2",
"marked": "^2.1.3",
"prettier": "*",
"typescript": "*"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-plugin/tests/docs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,27 +149,27 @@ describe('Validating README.md', () => {
}

it('Link column should be correct', () => {
expect(ruleRow[0]).toEqual(createRuleLink(ruleName));
expect(ruleRow[0]).toBe(createRuleLink(ruleName));
});

it('Description column should be correct', () => {
expect(ruleRow[1]).toEqual(rule.meta.docs?.description);
expect(ruleRow[1]).toBe(rule.meta.docs?.description);
});

it('Recommended column should be correct', () => {
expect(ruleRow[2]).toEqual(
expect(ruleRow[2]).toBe(
rule.meta.docs?.recommended ? ':white_check_mark:' : '',
);
});

it('Fixable column should be correct', () => {
expect(ruleRow[3]).toEqual(
expect(ruleRow[3]).toBe(
rule.meta.fixable !== undefined ? ':wrench:' : '',
);
});

it('Requiring type information column should be correct', () => {
expect(ruleRow[4]).toEqual(
expect(ruleRow[4]).toBe(
rule.meta.docs?.requiresTypeChecking === true
? ':thought_balloon:'
: '',
Expand Down
Loading