Skip to content

Commit

Permalink
chore(deps): update typescript-eslint monorepo to v5.11.0 (#47)
Browse files Browse the repository at this point in the history
* chore(deps): update typescript-eslint monorepo to v5.11.0

* chore: experimental-utils -> utils

* Create dirty-walls-compete.md

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: roikoren755 <roi@altnext.com>
Co-authored-by: roikoren755 <26850796+roikoren755@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 9, 2022
1 parent 57a2de4 commit 61fc522
Show file tree
Hide file tree
Showing 130 changed files with 841 additions and 424 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-walls-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-es-roikoren": patch
---

chore(deps): update typescript-eslint monorepo to v5.11.0
983 changes: 697 additions & 286 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"prettier": "2.5.1"
},
"dependencies": {
"@typescript-eslint/experimental-utils": "5.7.0",
"@typescript-eslint/utils": "^5.0.0",
"regexpp": "3.2.0"
},
"devDependencies": {
Expand All @@ -51,10 +51,11 @@
"@commitlint/cli": "16.1.0",
"@commitlint/config-conventional": "16.0.0",
"@types/semver": "7.3.9",
"@typescript-eslint/eslint-plugin": "5.7.0",
"@typescript-eslint/parser": "5.7.0",
"@typescript-eslint/types": "5.7.0",
"@typescript-eslint/typescript-estree": "5.7.0",
"@typescript-eslint/eslint-plugin": "5.11.0",
"@typescript-eslint/parser": "5.11.0",
"@typescript-eslint/types": "5.11.0",
"@typescript-eslint/typescript-estree": "5.11.0",
"@typescript-eslint/utils": "5.11.0",
"camelcase": "6.3.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/new-rule.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { writeFileSync } from 'fs';
import path from 'path';

import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';

const run = async (appliedRuleId: string): Promise<void> => {
if (!appliedRuleId) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/rules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readdirSync } from 'fs';
import path from 'path';

import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const libRoot = path.resolve(__dirname, '../src/rules');

Expand Down
2 changes: 1 addition & 1 deletion scripts/update-docs-rules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readFileSync, readdirSync, writeFileSync } from 'fs';
import path from 'path';

import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';

import { version } from '../package.json';

Expand Down
4 changes: 2 additions & 2 deletions scripts/update-src-configs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { writeFileSync } from 'fs';
import path from 'path';

import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';

import { categories } from './rules';

Expand All @@ -24,7 +24,7 @@ const wrapCode = (code: string): string => `/**
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';
const config: TSESLint.Linter.Config = ${code};
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-src-index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readdirSync, writeFileSync } from 'fs';
import path from 'path';

import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import camelcase from 'camelcase';

import { rules } from './rules';
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2015.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2016.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2017.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2018.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2019.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2020.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es2021.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-es5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/no-new-in-esnext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2015.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2016.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2017.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2018.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2019.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [require.resolve('./no-new-in-es2021'), require.resolve('./no-new-in-es2020')],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es2020.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = { extends: [require.resolve('./no-new-in-es2021')] };

Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/restrict-to-es5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
extends: [
Expand Down
2 changes: 1 addition & 1 deletion src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* DON'T EDIT THIS FILE.
* This file was generated by 'scripts/update-src-configs.ts' script.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const config: TSESLint.Linter.Config = {
plugins: ['es-roikoren'],
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-array-from.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-array-isarray.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-array-of.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-arrow-functions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/typescript-estree';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';

Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-atomics.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-bigint.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/typescript-estree';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
4 changes: 2 additions & 2 deletions src/rules/no-class-fields.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/typescript-estree';
import { ASTUtils } from '@typescript-eslint/utils';
import type { TSESLint } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';

Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-date-now.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-global-this.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-json.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-logical-assignment-operators.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/typescript-estree';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';

Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-map.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-acosh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-asinh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-atanh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-cbrt.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-clz32.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-cosh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-expm1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-fround.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-hypot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-imul.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-log10.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-math-log1p.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTUtils } from '@typescript-eslint/experimental-utils';
import { ASTUtils } from '@typescript-eslint/utils';

import { createRule } from '../util/create-rule';
import { referenceTracker } from '../util/reference-tracker';
Expand Down
Loading

0 comments on commit 61fc522

Please sign in to comment.