Skip to content
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

perf: paralint concurrency 2 #550

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 3 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank",
"build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank",
"build:dts": "tsc --project tsconfig.dts.json",
"format": "eslint --fix src && prettier --loglevel silent --write src",
"lint": "eslint src"
"format": "paralint --concurrency 2 --fix src && prettier --loglevel silent --write src",
"lint": "paralint --concurrency 2 src"
},
"files": [
"target/dts/**/*",
Expand Down Expand Up @@ -63,6 +63,7 @@
"eslint-config-qiwi": "1.17.6",
"fast-glob": "3.2.11",
"file-loader": "6.2.0",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react": "18.2.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/desktop-extra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank",
"build:dts": "tsc --project tsconfig.dts.json",
"test": "jest",
"format": "eslint --fix src && prettier --loglevel silent --write src",
"lint": "eslint src"
"format": "paralint --concurrency 2 --fix src && prettier --loglevel silent --write src",
"lint": "paralint --concurrency 2 src"
},
"files": [
"target/dts/**/*",
Expand Down Expand Up @@ -54,6 +54,7 @@
"file-loader": "6.2.0",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react-i18next": "^11.18.5",
Expand Down
5 changes: 3 additions & 2 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"chrome:start": "docker run --rm -p 6161:3000 --add-host=host.docker.internal:host-gateway browserless/chrome",
"test:start": "wait-on http-get://localhost:6060/ http-get://localhost:6161/ && styleguidist-visual test --config styleguide.visual.config.cjs",
"test:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs",
"format": "eslint --fix src && prettier --loglevel silent --write src",
"lint": "eslint src"
"format": "paralint --concurrency 2 --fix src && prettier --loglevel silent --write src",
"lint": "paralint --concurrency 2 src"
},
"files": [
"target/dts/**/*",
Expand All @@ -49,6 +49,7 @@
"eslint-config-qiwi": "1.17.6",
"fast-glob": "3.2.11",
"file-loader": "6.2.0",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch",
Expand Down
1 change: 1 addition & 0 deletions packages/infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"eslint-config-qiwi": "1.17.6",
"fast-glob": "3.2.11",
"file-loader": "6.2.0",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch",
Expand Down
5 changes: 3 additions & 2 deletions packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"chrome:start": "docker run --rm -p 7171:3000 --add-host=host.docker.internal:host-gateway browserless/chrome",
"test:start": "wait-on http-get://localhost:7070/ http-get://localhost:7171/ && styleguidist-visual test --config styleguide.visual.config.cjs",
"test:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs",
"format": "eslint --fix src && prettier --loglevel silent --write src",
"lint": "eslint src"
"format": "paralint --concurrency 2 --fix src && prettier --loglevel silent --write src",
"lint": "paralint --concurrency 2 src"
},
"files": [
"target/dts/**/*",
Expand All @@ -49,6 +49,7 @@
"eslint-config-qiwi": "1.17.6",
"fast-glob": "3.2.11",
"file-loader": "6.2.0",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch",
Expand Down
5 changes: 3 additions & 2 deletions packages/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank",
"build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank",
"build:dts": "tsc --project tsconfig.dts.json",
"format": "eslint --fix src && prettier --loglevel silent --write src",
"lint": "eslint src"
"format": "paralint --concurrency 2 --fix src && prettier --loglevel silent --write src",
"lint": "paralint --concurrency 2 src"
},
"files": [
"target/dts/**/*",
Expand All @@ -41,6 +41,7 @@
"eslint-config-qiwi": "1.17.6",
"fast-glob": "3.2.11",
"file-loader": "6.2.0",
"paralint": "1.1.2",
"prettier": "2.7.1",
"prettier-config-qiwi": "1.7.2",
"react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch",
Expand Down
68 changes: 68 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,15 @@ __metadata:
languageName: node
linkType: hard

"@npmcli/promise-spawn@npm:^6.0.1":
version: 6.0.1
resolution: "@npmcli/promise-spawn@npm:6.0.1"
dependencies:
which: "npm:^3.0.0"
checksum: cf53e15285531f9a5b9bfd9199fac2fced65aa15fc022509679c8f382f8342dfcd2da382a46a32a3346c9190a7a715d410e1124e67146eab44f9b4a24615f4aa
languageName: node
linkType: hard

"@popperjs/core@npm:^2.8.6, @popperjs/core@npm:^2.9.0":
version: 2.11.6
resolution: "@popperjs/core@npm:2.11.6"
Expand Down Expand Up @@ -1114,6 +1123,7 @@ __metadata:
fast-glob: "npm:3.2.11"
file-loader: "npm:6.2.0"
markdown-to-jsx: "npm:^7.1.7"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react: "npm:18.2.0"
Expand Down Expand Up @@ -1158,6 +1168,7 @@ __metadata:
file-loader: "npm:6.2.0"
jest: "npm:^29.0.2"
jest-environment-jsdom: "npm:^29.0.2"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react-day-picker: "npm:^8.2.0"
Expand Down Expand Up @@ -1188,6 +1199,7 @@ __metadata:
eslint-config-qiwi: "npm:1.17.6"
fast-glob: "npm:3.2.11"
file-loader: "npm:6.2.0"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch"
Expand Down Expand Up @@ -1221,6 +1233,7 @@ __metadata:
eslint-config-qiwi: "npm:1.17.6"
fast-glob: "npm:3.2.11"
file-loader: "npm:6.2.0"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch"
Expand All @@ -1245,6 +1258,7 @@ __metadata:
eslint-config-qiwi: "npm:1.17.6"
fast-glob: "npm:3.2.11"
file-loader: "npm:6.2.0"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch"
Expand All @@ -1270,6 +1284,7 @@ __metadata:
eslint-config-qiwi: "npm:1.17.6"
fast-glob: "npm:3.2.11"
file-loader: "npm:6.2.0"
paralint: "npm:1.1.2"
prettier: "npm:2.7.1"
prettier-config-qiwi: "npm:1.7.2"
react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch"
Expand Down Expand Up @@ -3861,6 +3876,13 @@ __metadata:
languageName: node
linkType: hard

"dargs@npm:^8.1.0":
version: 8.1.0
resolution: "dargs@npm:8.1.0"
checksum: a0569eb93a4a1604dbda0181c0efcba3888e481e0c2aedfe1abdde3e4d719fbde77208cb8d0556ef56662ab4f04c52b06124586041f75b4d9159e43f4e16983b
languageName: node
linkType: hard

"data-urls@npm:^3.0.2":
version: 3.0.2
resolution: "data-urls@npm:3.0.2"
Expand Down Expand Up @@ -5008,6 +5030,19 @@ __metadata:
languageName: node
linkType: hard

"fast-glob@npm:^3.2.12":
version: 3.2.12
resolution: "fast-glob@npm:3.2.12"
dependencies:
"@nodelib/fs.stat": "npm:^2.0.2"
"@nodelib/fs.walk": "npm:^1.2.3"
glob-parent: "npm:^5.1.2"
merge2: "npm:^1.3.0"
micromatch: "npm:^4.0.4"
checksum: 3b98e0cadbf2aea3fa2be76e28b0c895bb18d920ccb7b3d3f603a464e3dc2c6a89a8afb9f9765226bd4d4d74b70e880721ff7a57a267c2eaa11353f35d42d11b
languageName: node
linkType: hard

"fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
version: 2.1.0
resolution: "fast-json-stable-stringify@npm:2.1.0"
Expand Down Expand Up @@ -7901,6 +7936,13 @@ __metadata:
languageName: node
linkType: hard

"minimist@npm:^1.2.7":
version: 1.2.7
resolution: "minimist@npm:1.2.7"
checksum: 7bb50119bb59f48228a834e293a566c4b0e1b6c4648db83fb88830b4f932bfeaca72158bcdcc8a74130b339167eda92ec4cabb65faf07ab8d32542889a451676
languageName: node
linkType: hard

"minipass-collect@npm:^1.0.2":
version: 1.0.2
resolution: "minipass-collect@npm:1.0.2"
Expand Down Expand Up @@ -8577,6 +8619,21 @@ __metadata:
languageName: node
linkType: hard

"paralint@npm:1.1.2":
version: 1.1.2
resolution: "paralint@npm:1.1.2"
dependencies:
"@npmcli/promise-spawn": "npm:^6.0.1"
dargs: "npm:^8.1.0"
fast-glob: "npm:^3.2.12"
minimist: "npm:^1.2.7"
tslib: "npm:^2.4.0"
bin:
paralint: target/es6/cli.js
checksum: fcfd333754039d670138392ef3e6b8ae7dbb7749b4240c833a8b8ff99a4cf3cd1d3f08fb24e34cc13e5563daacbdfc7c9040281afd239018ecc5359b4f7b8ef8
languageName: node
linkType: hard

"parent-module@npm:^1.0.0":
version: 1.0.1
resolution: "parent-module@npm:1.0.1"
Expand Down Expand Up @@ -11816,6 +11873,17 @@ __metadata:
languageName: node
linkType: hard

"which@npm:^3.0.0":
version: 3.0.0
resolution: "which@npm:3.0.0"
dependencies:
isexe: "npm:^2.0.0"
bin:
node-which: bin/which.js
checksum: c946888017dd9f52eccff68c892432a757401abeb9cf1e8e0d40a04a0996844e28e2870aaa4071c52f3cc3b20ff908db40be6ab1be0bed29dc0431e353c98bb5
languageName: node
linkType: hard

"wide-align@npm:^1.1.5":
version: 1.1.5
resolution: "wide-align@npm:1.1.5"
Expand Down