Skip to content

Commit

Permalink
fix: update eslint stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Code-Monkey committed Jul 26, 2023
1 parent 26adb37 commit e35ee2f
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 807 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"build:tcm": "cd packages/tcm-cli && yarn build && lerna link",
"build:theme": "cd packages/theme && yarn build && lerna link",
"build": "yarn build:tcm && yarn build:theme && lerna run build",
"lerna:link": "lerna link",
"lerna:changed": "lerna changed",
"lerna:version": "lerna version --conventional-commits --exact --yes",
"lerna:publish": "yarn lerna:changed && yarn lerna:version && lerna publish from-git --no-verify-access --yes",
Expand Down
9 changes: 4 additions & 5 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@
"@storybook/react": "7.1.0",
"@storybook/react-webpack5": "7.1.0",
"@storybook/testing-library": "0.2.0",
"@techstack/tcm-cli": "0.4.3",
"@testing-library/react": "14.0.0",
"@tsconfig/create-react-app": "2.0.1",
"@tsconfig/recommended": "1.0.2",
"@types/react-dom": "18.2.7",
"chromatic": "6.20.0",
"cross-env": "7.0.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "5.0.0",
"esm": "3.2.25",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand All @@ -95,13 +95,13 @@
"storybook": "7.1.0",
"tslib": "2.6.0",
"typescript": "5.1.6",
"webpack": "5.88.2",
"@techstack/tcm-cli": "0.4.3"
"webpack": "5.88.2"
},
"dependencies": {
"@emotion/is-prop-valid": "1.2.1",
"@tanstack/react-table": "8.9.3",
"@techstack/styled-system": "1.0.54",
"@techstack/theme": "0.4.183",
"@types/react-table": "7.7.14",
"classnames": "2.3.2",
"csstype": "3.1.2",
Expand All @@ -114,8 +114,7 @@
"react-responsive-carousel": "3.2.23",
"react-table": "7.8.0",
"react-virtual": "2.10.4",
"styled-components": "6.0.0-rc.5",
"@techstack/theme": "0.4.183"
"styled-components": "6.0.0-rc.5"
},
"gitHead": "7bb2bc7bbce0432773369ca533adf6d1719e877a",
"browser": {
Expand Down
4 changes: 2 additions & 2 deletions packages/memoize/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type EqualityFn<TFunc extends (...args: unknown[]) => unknown> = (
) => boolean;

export type MemoizedFn<
TFunc extends (this: unknown, ...args: unknown[]) => unknown
TFunc extends (this: unknown, ...args: unknown[]) => unknown,
> = {
clear: () => void;
(
Expand All @@ -15,7 +15,7 @@ export type MemoizedFn<

// internal type
export type Cache<
TFunc extends (this: unknown, ...args: unknown[]) => unknown
TFunc extends (this: unknown, ...args: unknown[]) => unknown,
> = {
lastThis: ThisParameterType<TFunc>;
lastArgs: Parameters<TFunc>;
Expand Down
4 changes: 2 additions & 2 deletions packages/react-feather/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"url": "https://github.com/The-Code-Monkey/TechStack/issues"
},
"devDependencies": {
"@techstack/tcm-cli": "0.4.3",
"cross-env": "7.0.3",
"fs-extra": "11.1.1",
"typescript": "5.1.6",
"@techstack/tcm-cli": "0.4.3"
"typescript": "5.1.6"
},
"peerDependencies": {
"react": "18.2.0"
Expand Down
1 change: 0 additions & 1 deletion packages/react-textfit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"eslint": "8.45.0",
"eslint-config-airbnb": "19.0.4",
"eslint-plugin-react": "7.33.0",
"expect": "29.6.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/tcm-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-no-restricted-imports": "0.0.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "5.11.0",
Expand All @@ -81,7 +81,7 @@
"ora": "6.3.1",
"pascal-case": "3.1.2",
"postcss": "8.4.27",
"prettier": "2.8.8",
"prettier": "3.0.0",
"progress-estimator": "0.3.1",
"regenerator-runtime": "0.13.11",
"rollup": "3.26.3",
Expand Down
20 changes: 10 additions & 10 deletions packages/tcm-cli/src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ declare module 'asyncro' {
AsyncFn<T7>,
AsyncFn<T8>,
AsyncFn<T9>,
AsyncFn<T10>
AsyncFn<T10>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
parallel<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
Expand All @@ -171,7 +171,7 @@ declare module 'asyncro' {
AsyncFn<T6>,
AsyncFn<T7>,
AsyncFn<T8>,
AsyncFn<T9>
AsyncFn<T9>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
parallel<T1, T2, T3, T4, T5, T6, T7, T8>(
Expand All @@ -183,7 +183,7 @@ declare module 'asyncro' {
AsyncFn<T5>,
AsyncFn<T6>,
AsyncFn<T7>,
AsyncFn<T8>
AsyncFn<T8>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
parallel<T1, T2, T3, T4, T5, T6, T7>(
Expand All @@ -194,7 +194,7 @@ declare module 'asyncro' {
AsyncFn<T4>,
AsyncFn<T5>,
AsyncFn<T6>,
AsyncFn<T7>
AsyncFn<T7>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
parallel<T1, T2, T3, T4, T5, T6>(
Expand All @@ -204,7 +204,7 @@ declare module 'asyncro' {
AsyncFn<T3>,
AsyncFn<T4>,
AsyncFn<T5>,
AsyncFn<T6>
AsyncFn<T6>,
]
): Promise<[T1, T2, T3, T4, T5, T6]>;
parallel<T1, T2, T3, T4, T5>(
Expand Down Expand Up @@ -246,7 +246,7 @@ declare module 'asyncro' {
AsyncFn<T7>,
AsyncFn<T8>,
AsyncFn<T9>,
AsyncFn<T10>
AsyncFn<T10>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
series<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
Expand All @@ -259,7 +259,7 @@ declare module 'asyncro' {
AsyncFn<T6>,
AsyncFn<T7>,
AsyncFn<T8>,
AsyncFn<T9>
AsyncFn<T9>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
series<T1, T2, T3, T4, T5, T6, T7, T8>(
Expand All @@ -271,7 +271,7 @@ declare module 'asyncro' {
AsyncFn<T5>,
AsyncFn<T6>,
AsyncFn<T7>,
AsyncFn<T8>
AsyncFn<T8>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
series<T1, T2, T3, T4, T5, T6, T7>(
Expand All @@ -282,7 +282,7 @@ declare module 'asyncro' {
AsyncFn<T4>,
AsyncFn<T5>,
AsyncFn<T6>,
AsyncFn<T7>
AsyncFn<T7>,
]
): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
series<T1, T2, T3, T4, T5, T6>(
Expand All @@ -292,7 +292,7 @@ declare module 'asyncro' {
AsyncFn<T3>,
AsyncFn<T4>,
AsyncFn<T5>,
AsyncFn<T6>
AsyncFn<T6>,
]
): Promise<[T1, T2, T3, T4, T5, T6]>;
series<T1, T2, T3, T4, T5>(
Expand Down
4 changes: 2 additions & 2 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
],
"devDependencies": {
"@size-limit/file": "8.2.6",
"@techstack/tcm-cli": "0.4.3",
"@tsconfig/recommended": "1.0.2",
"@types/fs-extra": "11.0.1",
"@types/lodash": "4.14.195",
Expand All @@ -55,8 +56,7 @@
"size-limit": "8.2.6",
"ts-jest": "29.1.1",
"tslib": "2.6.0",
"typescript": "5.1.6",
"@techstack/tcm-cli": "0.4.3"
"typescript": "5.1.6"
},
"dependencies": {
"fs-extra": "11.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-default-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"default-browser-id": "3.0.0"
},
"devDependencies": {
"@techstack/tcm-cli": "0.4.3",
"mocha": "10.2.0",
"rewire": "6.0.0",
"@techstack/tcm-cli": "0.4.3"
"rewire": "6.0.0"
},
"gitHead": "7bb2bc7bbce0432773369ca533adf6d1719e877a"
}
Loading

0 comments on commit e35ee2f

Please sign in to comment.