From 2834bbe7d9a40832ffca9759fc76bbc40a9f2e4e Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Tue, 6 Aug 2024 23:54:58 -0400 Subject: [PATCH] Cleanup --- eslintrc.js.base.json | 3 -- eslintrc.ts.base.json | 31 ----------- eslintrc.ts.jest.base.json | 32 ----------- eslintrc.ts.react.base.json | 52 ------------------ eslintrc.ts.react.jest.base.json | 34 ------------ package.json | 3 -- packages/react-base16-styling/package.json | 5 -- packages/react-dock/demo/package.json | 6 --- packages/react-dock/package.json | 7 --- pnpm-lock.yaml | 63 ---------------------- 10 files changed, 236 deletions(-) delete mode 100644 eslintrc.js.base.json delete mode 100644 eslintrc.ts.base.json delete mode 100644 eslintrc.ts.jest.base.json delete mode 100644 eslintrc.ts.react.base.json delete mode 100644 eslintrc.ts.react.jest.base.json diff --git a/eslintrc.js.base.json b/eslintrc.js.base.json deleted file mode 100644 index a059126a..00000000 --- a/eslintrc.js.base.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "parser": "@babel/eslint-parser" -} diff --git a/eslintrc.ts.base.json b/eslintrc.ts.base.json deleted file mode 100644 index cdd3764d..00000000 --- a/eslintrc.ts.base.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "plugin:@typescript-eslint/stylistic-type-checked", - "prettier" - ], - "rules": { - "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/prefer-optional-chain": "off", - "@typescript-eslint/no-base-to-string": "off", - "@typescript-eslint/consistent-indexed-object-style": "off", - "@typescript-eslint/prefer-nullish-coalescing": "off", - "@typescript-eslint/consistent-type-definitions": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/prefer-for-of": "off", - "@typescript-eslint/non-nullable-type-assertion-style": "off", - "@typescript-eslint/class-literal-property-style": "off", - "@typescript-eslint/no-redundant-type-constituents": "off", - "@typescript-eslint/prefer-string-starts-ends-with": "off", - "@typescript-eslint/no-duplicate-type-constituents": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/prefer-function-type": "off" - } -} diff --git a/eslintrc.ts.jest.base.json b/eslintrc.ts.jest.base.json deleted file mode 100644 index 8a8cde2d..00000000 --- a/eslintrc.ts.jest.base.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "plugins": ["jest"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "plugin:@typescript-eslint/stylistic-type-checked", - "plugin:jest/recommended", - "plugin:jest/style", - "prettier" - ], - "rules": { - "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/prefer-optional-chain": "off", - "@typescript-eslint/no-base-to-string": "off", - "@typescript-eslint/consistent-indexed-object-style": "off", - "@typescript-eslint/prefer-nullish-coalescing": "off", - "@typescript-eslint/consistent-type-definitions": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/prefer-for-of": "off", - "@typescript-eslint/non-nullable-type-assertion-style": "off", - "@typescript-eslint/class-literal-property-style": "off", - "@typescript-eslint/no-redundant-type-constituents": "off", - "@typescript-eslint/prefer-string-starts-ends-with": "off", - "@typescript-eslint/no-duplicate-type-constituents": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/prefer-function-type": "off" - } -} diff --git a/eslintrc.ts.react.base.json b/eslintrc.ts.react.base.json deleted file mode 100644 index 814d877e..00000000 --- a/eslintrc.ts.react.base.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaFeatures": { - "jsx": true - } - }, - "plugins": ["@typescript-eslint", "react"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "plugin:@typescript-eslint/stylistic-type-checked", - "plugin:react/recommended", - "plugin:react-hooks/recommended", - "prettier" - ], - "settings": { - "react": { - "version": "detect" - } - }, - "rules": { - "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/no-misused-promises": [ - "error", - { - "checksVoidReturn": { - "attributes": false - } - } - ], - "@typescript-eslint/prefer-optional-chain": "off", - "@typescript-eslint/no-base-to-string": "off", - "@typescript-eslint/consistent-indexed-object-style": "off", - "@typescript-eslint/prefer-nullish-coalescing": "off", - "@typescript-eslint/consistent-type-definitions": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/prefer-for-of": "off", - "@typescript-eslint/non-nullable-type-assertion-style": "off", - "@typescript-eslint/class-literal-property-style": "off", - "@typescript-eslint/no-redundant-type-constituents": "off", - "@typescript-eslint/prefer-string-starts-ends-with": "off", - "@typescript-eslint/no-duplicate-type-constituents": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/prefer-function-type": "off", - "react/prop-types": "off" - } -} diff --git a/eslintrc.ts.react.jest.base.json b/eslintrc.ts.react.jest.base.json deleted file mode 100644 index 80fbfee6..00000000 --- a/eslintrc.ts.react.jest.base.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "plugins": ["jest"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "plugin:@typescript-eslint/stylistic-type-checked", - "plugin:react/recommended", - "plugin:react-hooks/recommended", - "plugin:jest/recommended", - "plugin:jest/style", - "prettier" - ], - "rules": { - "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/prefer-optional-chain": "off", - "@typescript-eslint/no-base-to-string": "off", - "@typescript-eslint/consistent-indexed-object-style": "off", - "@typescript-eslint/prefer-nullish-coalescing": "off", - "@typescript-eslint/consistent-type-definitions": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/prefer-for-of": "off", - "@typescript-eslint/non-nullable-type-assertion-style": "off", - "@typescript-eslint/class-literal-property-style": "off", - "@typescript-eslint/no-redundant-type-constituents": "off", - "@typescript-eslint/prefer-string-starts-ends-with": "off", - "@typescript-eslint/no-duplicate-type-constituents": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/prefer-function-type": "off" - } -} diff --git a/package.json b/package.json index a1868f97..2cfdfa1f 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,10 @@ "private": true, "devDependencies": { "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", "@changesets/cli": "^2.27.7", "@eslint/compat": "^1.1.1", "@eslint/js": "^8.57.0", "@nrwl/nx-cloud": "^19.0.0", - "@typescript-eslint/eslint-plugin": "^8.0.1", - "@typescript-eslint/parser": "^8.0.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^28.7.0", diff --git a/packages/react-base16-styling/package.json b/packages/react-base16-styling/package.json index 01187aaf..595e6081 100644 --- a/packages/react-base16-styling/package.json +++ b/packages/react-base16-styling/package.json @@ -45,11 +45,6 @@ "@types/color": "^3.0.6", "@types/jest": "^29.5.12", "@types/lodash-es": "^4.17.12", - "@typescript-eslint/eslint-plugin": "^8.0.1", - "@typescript-eslint/parser": "^8.0.1", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-jest": "^28.7.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "rimraf": "^6.0.1", diff --git a/packages/react-dock/demo/package.json b/packages/react-dock/demo/package.json index 900794ce..53a57634 100644 --- a/packages/react-dock/demo/package.json +++ b/packages/react-dock/demo/package.json @@ -27,14 +27,8 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/styled-components": "^5.1.34", - "@typescript-eslint/eslint-plugin": "^8.0.1", - "@typescript-eslint/parser": "^8.0.1", "babel-loader": "^9.1.3", "cross-env": "^7.0.3", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-react": "^7.35.0", - "eslint-plugin-react-hooks": "^4.6.2", "fork-ts-checker-webpack-plugin": "^9.0.2", "html-webpack-plugin": "^5.6.0", "ts-node": "^10.9.2", diff --git a/packages/react-dock/package.json b/packages/react-dock/package.json index 4d08aff6..aa0ec22b 100644 --- a/packages/react-dock/package.json +++ b/packages/react-dock/package.json @@ -43,13 +43,6 @@ "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@types/react-test-renderer": "^18.3.0", - "@typescript-eslint/eslint-plugin": "^8.0.1", - "@typescript-eslint/parser": "^8.0.1", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-jest": "^28.7.0", - "eslint-plugin-react": "^7.35.0", - "eslint-plugin-react-hooks": "^4.6.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73621cc8..4b2c9149 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@babel/core': specifier: ^7.25.2 version: 7.25.2 - '@babel/eslint-parser': - specifier: ^7.25.1 - version: 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) '@changesets/cli': specifier: ^2.27.7 version: 2.27.7 @@ -26,12 +23,6 @@ importers: '@nrwl/nx-cloud': specifier: ^19.0.0 version: 19.0.0 - '@typescript-eslint/eslint-plugin': - specifier: ^8.0.1 - version: 8.0.1(@typescript-eslint/parser@8.0.1)(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': - specifier: ^8.0.1 - version: 8.0.1(eslint@8.57.0)(typescript@5.5.4) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -382,21 +373,6 @@ importers: '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 - '@typescript-eslint/eslint-plugin': - specifier: ^8.0.1 - version: 8.0.1(@typescript-eslint/parser@8.0.1)(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': - specifier: ^8.0.1 - version: 8.0.1(eslint@8.57.0)(typescript@5.5.4) - eslint: - specifier: ^8.57.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.0) - eslint-plugin-jest: - specifier: ^28.7.0 - version: 28.7.0(@typescript-eslint/eslint-plugin@8.0.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) @@ -431,27 +407,6 @@ importers: '@types/react-test-renderer': specifier: ^18.3.0 version: 18.3.0 - '@typescript-eslint/eslint-plugin': - specifier: ^8.0.1 - version: 8.0.1(@typescript-eslint/parser@8.0.1)(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': - specifier: ^8.0.1 - version: 8.0.1(eslint@8.57.0)(typescript@5.5.4) - eslint: - specifier: ^8.57.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.0) - eslint-plugin-jest: - specifier: ^28.7.0 - version: 28.7.0(@typescript-eslint/eslint-plugin@8.0.1)(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4) - eslint-plugin-react: - specifier: ^7.35.0 - version: 7.35.0(eslint@8.57.0) - eslint-plugin-react-hooks: - specifier: ^4.6.2 - version: 4.6.2(eslint@8.57.0) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) @@ -522,30 +477,12 @@ importers: '@types/styled-components': specifier: ^5.1.34 version: 5.1.34 - '@typescript-eslint/eslint-plugin': - specifier: ^8.0.1 - version: 8.0.1(@typescript-eslint/parser@8.0.1)(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': - specifier: ^8.0.1 - version: 8.0.1(eslint@8.57.0)(typescript@5.5.4) babel-loader: specifier: ^9.1.3 version: 9.1.3(@babel/core@7.25.2)(webpack@5.93.0) cross-env: specifier: ^7.0.3 version: 7.0.3 - eslint: - specifier: ^8.57.0 - version: 8.57.0 - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.0) - eslint-plugin-react: - specifier: ^7.35.0 - version: 7.35.0(eslint@8.57.0) - eslint-plugin-react-hooks: - specifier: ^4.6.2 - version: 4.6.2(eslint@8.57.0) fork-ts-checker-webpack-plugin: specifier: ^9.0.2 version: 9.0.2(typescript@5.5.4)(webpack@5.93.0)