Skip to content

Commit

Permalink
add missing dependencies, update dependencies (#248)
Browse files Browse the repository at this point in the history
Signed-off-by: Kangrui Johann Ye <[email protected]>
  • Loading branch information
strawberry-choco authored Oct 18, 2024
1 parent 60514b5 commit 46de63a
Show file tree
Hide file tree
Showing 15 changed files with 184 additions and 172 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"private": true,
"volta": {
"node": "20.12.2",
Expand Down Expand Up @@ -29,38 +29,38 @@
"license": "Apache-2.0",
"devDependencies": {
"@eslint/compat": "1.2.0",
"@eslint/js": "9.11.1",
"@eslint/js": "9.12.0",
"@stylistic/eslint-plugin": "2.9.0",
"@types/eslint": "9.6.1",
"@types/eslint__js": "8.42.3",
"@types/estree": "1.0.6",
"@types/jest": "29.5.13",
"@types/node": "20.16.10",
"@typescript-eslint/eslint-plugin": "8.8.0",
"@typescript-eslint/parser": "8.8.0",
"@typescript-eslint/utils": "8.8.0",
"@vue/eslint-config-typescript": "14.0.0",
"@types/node": "20.16.12",
"@typescript-eslint/eslint-plugin": "8.10.0",
"@typescript-eslint/parser": "8.10.0",
"@typescript-eslint/utils": "8.10.0",
"@vue/eslint-config-typescript": "14.1.1",
"angular-eslint": "18.3.1",
"eslint": "9.11.1",
"eslint": "9.12.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import-x": "4.3.1",
"eslint-plugin-json-es": "1.6.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-n": "17.10.3",
"eslint-plugin-n": "17.11.1",
"eslint-plugin-no-unsanitized": "4.1.2",
"eslint-plugin-perfectionist": "3.9.0",
"eslint-plugin-perfectionist": "3.9.1",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-vue": "9.28.0",
"eslint-plugin-vue": "9.29.0",
"husky": "9.1.6",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"typescript-eslint": "8.8.0"
"typescript-eslint": "8.10.0"
},
"lint-staged": {
"*.js": "eslint -c eslint.format.mjs --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-angular",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"description": "Cloudflight eslint-plugin & eslint-config for angular",
"volta": {
"extends": "../../package.json"
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-node",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"description": "Cloudflight eslint-plugin & eslint-config for node",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,7 +27,7 @@
},
"dependencies": {
"@cloudflight/eslint-plugin-typescript": "workspace:*",
"eslint-plugin-n": "17.10.3",
"eslint-plugin-n": "17.11.1",
"eslint-plugin-no-unsanitized": "^4.1.2",
"eslint-plugin-security": "^3.0.1"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-react",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"description": "Cloudflight eslint-plugin & eslint-config for React",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,7 +27,6 @@
},
"dependencies": {
"@cloudflight/eslint-plugin-typescript": "workspace:*",
"@typescript-eslint/parser": "^8.8.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-plugin-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
cloudflightTypescriptConfig, cloudflightTypescriptDisableTypeCheckedConfig,
cloudflightTypescriptImportConfig,
} from '@cloudflight/eslint-plugin-typescript';
import * as tsParser from '@typescript-eslint/parser';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import tseslint from 'typescript-eslint';
// see https://github.com/jsx-eslint/eslint-plugin-react/issues/3838
Expand Down Expand Up @@ -39,7 +38,7 @@ export const cloudflightReactConfig = tseslint.config(
jsxA11y.flatConfigs.recommended,
],
languageOptions: {
parser: tsParser,
parser: tseslint.parser,
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-plugin-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-typescript",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"description": "Cloudflight eslint-plugin & eslint-config for typescript",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,12 +27,12 @@
"test-packagex": "jest"
},
"dependencies": {
"@eslint/js": "^9.11.1",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@eslint/js": "^9.12.0",
"@stylistic/eslint-plugin": "2.9.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import-x": "4.3.1",
"typescript-eslint": "^8.8.0"
"eslint-plugin-perfectionist": "3.9.1",
"typescript-eslint": "^8.10.0"
},
"peerDependencies": {
"eslint": ">=9.0.0 < 10.0.0"
Expand Down
5 changes: 2 additions & 3 deletions packages/eslint-plugin-typescript/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pluginJs from '@eslint/js';
import stylistic from '@stylistic/eslint-plugin';
import * as tsParser from '@typescript-eslint/parser';
import eslintPluginImportX from 'eslint-plugin-import-x';
import perfectionist from 'eslint-plugin-perfectionist';
import tseslint from 'typescript-eslint';
Expand Down Expand Up @@ -47,7 +46,7 @@ export const cloudflightTypescriptImportConfig = tseslint.config({
eslintPluginImportX.flatConfigs.typescript,
],
languageOptions: {
parser: tsParser,
parser: tseslint.parser,
ecmaVersion: 'latest',
sourceType: 'module',
},
Expand Down Expand Up @@ -89,7 +88,7 @@ export const cloudflightTypescriptFormatConfig = tseslint.config({
perfectionist,
},
languageOptions: {
parser: tsParser,
parser: tseslint.parser,
ecmaVersion: 'latest',
sourceType: 'module',
},
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflight/eslint-plugin-vue",
"version": "1.0.0-rc10",
"version": "1.0.0-rc11",
"description": "Cloudflight eslint-plugin & eslint-config for vue",
"volta": {
"extends": "../../package.json"
Expand All @@ -27,8 +27,8 @@
},
"dependencies": {
"@cloudflight/eslint-plugin-typescript": "workspace:*",
"@vue/eslint-config-typescript": "^14.0.0",
"eslint-plugin-vue": "^9.28.0"
"@vue/eslint-config-typescript": "^14.1.1",
"eslint-plugin-vue": "^9.29.0"
},
"peerDependencies": {
"eslint": ">=9.0.0 < 10.0.0"
Expand Down
6 changes: 1 addition & 5 deletions packages/eslint-plugin-vue/src/configs/vue.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import {TSESLint} from '@typescript-eslint/utils';
// @ts-expect-error .d.ts file for eslint-plugin-vue has been implemented but not released yet
// if the following line fails to build after updating the version, simply remove this comment
import pluginVue from 'eslint-plugin-vue';

// .d.ts file for eslint-plugin-vue has been implemented but not released yet, if the
// following line fails to build after updating the version, simply remove this comment
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,@typescript-eslint/consistent-type-assertions
// eslint-disable-next-line ,@typescript-eslint/consistent-type-assertions
const recommendedConfigArray = pluginVue.configs['flat/recommended'] as TSESLint.FlatConfig.ConfigArray;
const recommendedRules = recommendedConfigArray
.reduce<Record<string, TSESLint.Linter.RuleEntry | undefined>>((acc, config) => ({...acc, ...config.rules}), {});
Expand Down
8 changes: 2 additions & 6 deletions packages/eslint-plugin-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {cloudflightTypescriptBaseConfig, cloudflightTypescriptConfig} from '@cloudflight/eslint-plugin-typescript';
import {TSESLint} from '@typescript-eslint/utils';
import vueTsEslintConfig from '@vue/eslint-config-typescript';
import tseslint from 'typescript-eslint';
// @ts-expect-error .d.ts file for eslint-plugin-vue has been implemented but not released yet
// if the following line fails to build after updating the version, simply remove this comment
import pluginVue from 'eslint-plugin-vue';
import tseslint from 'typescript-eslint';

import {typescriptRules} from './configs/typescript';
import {vueRules} from './configs/vue';
Expand All @@ -18,9 +16,7 @@ export const cloudflightVueConfig = tseslint.config(
// does not work with vue-eslint-parser properly
// eslint-disable-next-line @typescript-eslint/no-deprecated
...cloudflightTypescriptBaseConfig,
// .d.ts file for eslint-plugin-vue has been implemented but not released yet, if the
// following line fails to build after updating the version, simply remove this comment
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,@typescript-eslint/consistent-type-assertions
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
...pluginVue.configs['flat/recommended'] as TSESLint.FlatConfig.ConfigArray,
...vueTsEslintConfig(),
],
Expand Down
2 changes: 1 addition & 1 deletion packages/types-eslint-plugin-jsx-a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "",
"types": "index.d.ts",
"dependencies": {
"@types/eslint": "*"
"@types/eslint": "9.6.1"
},
"typeScriptVersion": "5.5"
}
2 changes: 1 addition & 1 deletion packages/types-eslint-plugin-no-unsanitized/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "",
"types": "index.d.ts",
"dependencies": {
"@types/eslint": "*"
"@types/eslint": "9.6.1"
},
"typeScriptVersion": "5.5"
}
2 changes: 1 addition & 1 deletion packages/types-eslint-plugin-react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "",
"types": "index.d.ts",
"dependencies": {
"@types/eslint": "*"
"@types/eslint": "9.6.1"
},
"typeScriptVersion": "5.5"
}
2 changes: 1 addition & 1 deletion packages/types-eslint-plugin-security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "",
"types": "index.d.ts",
"dependencies": {
"@types/eslint": "*"
"@types/eslint": "9.6.1"
},
"typeScriptVersion": "5.5"
}
Loading

0 comments on commit 46de63a

Please sign in to comment.